Version

Search Results

Contains(NonTerminalSymbol) Method

Returns a value indicating whether the specified NonTerminalSymbol exists within the collection. Syntax Parameters symbol The symbol to find in the collection. Exceptions Exception Description System.ArgumentNullException Occurs when symbol is null.

Contains(String) Method

Returns a value indicating whether a NonTerminalSymbol with the specified name exists within the collection. Syntax Parameters name The name of the symbol to find in the collection. Exceptions Exception Description System.ArgumentNullException Occurs when name is null or empty.

Contains Method (NonTerminalSymbolCollection)

Returns a value indicating whether the specified NonTerminalSymbol exists within the collection. Overload List

Count Property (NonTerminalSymbolCollection)

Gets the number of symbols in this collection. Syntax

Item(Int32) Property

Gets the NonTerminalSymbol at the specified index. Syntax Parameters index The 0-based index of the NonTerminalSymbol to get. Exceptions Exception Description System.ArgumentOutOfRangeException Occurs when index is less than 0 or greater than or equal to Count.

Item(String) Property

Gets the NonTerminalSymbol with the specified name, case sensitively. Syntax Parameters name The Symbol.Name of the symbol to get. Exceptions Exception Description System.ArgumentNullException Occurs when name is null or empty. System.Collections.Generic.KeyNotFoundException Occurs when no NonTerminalSymbol with t...

Item Property (NonTerminalSymbolCollection)

Gets the NonTerminalSymbol at the specified index. Overload List Exceptions Exception Description System.ArgumentOutOfRangeException Occurs when index is less than 0 or greater than or equal to Count.

Remove(NonTerminalSymbol) Method

Removes the specified NonTerminalSymbol from the collection. Syntax Parameters symbol The NonTerminalSymbol to remove. Exceptions Exception Description System.ArgumentNullException Occurs when symbol is null. System.InvalidOperationException Occurs when the IsMutable value of the owning Grammar is False.

Remove(String) Method

Removes the NonTerminalSymbol with the specified name from the collection. Syntax Parameters name The name of the NonTerminalSymbol to remove. Return Value True if a non-terminal symbol with the name was in the collection before removal; False otherwise. Exceptions Exception Description System.ArgumentNullExceptio...

Remove Method (NonTerminalSymbolCollection)

Removes the NonTerminalSymbol with the specified name from the collection. Overload List