Partager via


Source.GetTokenInfoAt(TokenInfo[], Int32, TokenInfo) Method

Definition

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

public:
 virtual int GetTokenInfoAt(cli::array <Microsoft::VisualStudio::Package::TokenInfo ^> ^ infoArray, int col, Microsoft::VisualStudio::Package::TokenInfo ^ % info);
public virtual int GetTokenInfoAt (Microsoft.VisualStudio.Package.TokenInfo[] infoArray, int col, ref Microsoft.VisualStudio.Package.TokenInfo info);
abstract member GetTokenInfoAt : Microsoft.VisualStudio.Package.TokenInfo[] * int * TokenInfo -> int
override this.GetTokenInfoAt : Microsoft.VisualStudio.Package.TokenInfo[] * int * TokenInfo -> int
Public Overridable Function GetTokenInfoAt (infoArray As TokenInfo(), col As Integer, ByRef info As TokenInfo) As Integer

Parameters

infoArray
TokenInfo[]

The array of TokenInfo objects to search.

col
Int32

The column number to find.

info
TokenInfo

[ref] A TokenInfo object.

Returns

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

Applies to