TokenInfo::Type Property

 

Determines the type of the token.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property TokenType Type {
	TokenType get();
	void set(TokenType value);
}

Property Value

Type: Microsoft.VisualStudio.Package::TokenType

Returns a value from the TokenType enumeration.

Your scanner should adhere to the meaning of the existing values in the TokenType enumeration as the default managed package framework language service classes use those values in many places. You can add additional types as necessary but use the existing types first.

Return to top
Show: