Version

LexerStateCollection Class Members

The following tables list the members exposed by LexerStateCollection.

Public Properties
 NameDescription
Public PropertyCountGets the number of LexerState instances in this collection.  
Public PropertyDefaultLexerStateGets the default lexer state of a grammar, which is the starting lexer state when documents are lexically analyzed.  
Public PropertyItemOverloaded. Gets the LexerState at the specified index.  
Public Methods
 NameDescription
Public MethodAddAdds a new LexerState with the specified name to the collection.  
Public MethodClearRemoves all members from this collection.  
Public MethodContainsOverloaded. Returns a value indicating whether the specified LexerState exists within this collection.  
Public MethodRemoveOverloaded. Removes the LexerState with the specified name from the collection.  
Public MethodTryGetLexerStateTries to get a LexerState with the specified name and returns whether one is in the collection.  
See Also