Source::GetTokenInfoAt Method (array<TokenInfo^>^, Int32, TokenInfo^)

 

Gets the index of the TokenInfo object that includes the supplied column number.

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

public:
virtual int GetTokenInfoAt(
	array<TokenInfo^>^ infoArray,
	int col,
	TokenInfo^% info
)

Parameters

infoArray
Type: array<Microsoft.VisualStudio.Package::TokenInfo^>^

The array of TokenInfo objects to search.

col
Type: System::Int32

The column number to find.

info
Type: Microsoft.VisualStudio.Package::TokenInfo^

[ref] A TokenInfo object.

Return Value

Type: System::Int32

The index of the TokenInfo object which includes the specified column number, or -1 if it is not found.

Return to top
Show: