Version

TryGetSymbol Method (NonTerminalSymbolCollection)

Tries to get a NonTerminalSymbol with the specified name and returns whether one is in the collection.
Syntax
'Declaration
 
Public Function TryGetSymbol( _
   ByVal name As String, _
   ByRef symbol As NonTerminalSymbol _
) As Boolean
public bool TryGetSymbol( 
   string name,
   out NonTerminalSymbol 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 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