TokenInfo Constructor (Int32, Int32, TokenType)

 

Initializes a new instance of the TokenInfo class to the specified values.

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

public:
TokenInfo(
	int startIndex,
	int endIndex,
	TokenType type
)

Parameters

startIndex
Type: System::Int32

[in] The first character of the token.

endIndex
Type: System::Int32

[in] The last character of the token.

type
Type: Microsoft.VisualStudio.Package::TokenType

[in] A value from the TokenType enumeration identifying the token's type.

The token's color index and any token triggers must be specified after the object has been constructed.

Return to top
Show: