Source.GetTokenInfoAt Method
Gets the index of the TokenInfo object that includes the supplied column number.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Function GetTokenInfoAt ( _
infoArray As TokenInfo(), _
col As Integer, _
ByRef info As TokenInfo _
) As Integer
public virtual int GetTokenInfoAt(
TokenInfo[] infoArray,
int col,
ref TokenInfo info
)
public:
virtual int GetTokenInfoAt(
array<TokenInfo^>^ infoArray,
int col,
TokenInfo^% info
)
abstract GetTokenInfoAt :
infoArray:TokenInfo[] *
col:int *
info:TokenInfo byref -> int
override GetTokenInfoAt :
infoArray:TokenInfo[] *
col:int *
info:TokenInfo byref -> int
public function GetTokenInfoAt(
infoArray : TokenInfo[],
col : int,
info : TokenInfo
) : int
Parameters
infoArray
Type: array<Microsoft.VisualStudio.Package.TokenInfo[]The array of TokenInfo objects to search.
col
Type: Int32The column number to find.
info
Type: Microsoft.VisualStudio.Package.TokenInfo%[ref] A TokenInfo object.
Return Value
Type: Int32
The index of the TokenInfo object which includes the specified column number, or -1 if it is not found.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.