Version

LoadEbnf(String) Method

Attempts to create a Grammar instance represented by the specified EBNF content.
Syntax
'Declaration
 
Public Overloads Shared Function LoadEbnf( _
   ByVal ebnfContent As String _
) As EbnfLoadResult
public static EbnfLoadResult LoadEbnf( 
   string ebnfContent
)

Parameters

ebnfContent
A string containing the EBNF (Extended Backus-Naur Form) content.

Return Value

An EbnfLoadResult instance which describes the result of the parse operation and contains a reference to the created Grammar instance if there were no errors.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when the specified ebnfContent is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also