Version

TryGetSymbol Method (LexerStateTerminalSymbolCollection)

Tries to get a TerminalSymbol with the specified name and returns whether one is in the collection.
Syntax
'Declaration
 
Public Function TryGetSymbol( _
   ByVal name As String, _
   ByRef symbol As TerminalSymbol _
) As Boolean
public bool TryGetSymbol( 
   string name,
   out TerminalSymbol symbol
)

Parameters

name
The name of the symbol to find in the collection.
symbol
[Out] Contains the symbol with the specified name or null if no symbol has the name specified.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when name is null or empty.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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