IVsSearchQuery.GetTokens Method
Gets the search tokens.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Function GetTokens ( _
dwMaxTokens As UInteger, _
<OutAttribute> rgpSearchTokens As IVsSearchToken() _
) As UInteger
uint GetTokens(
uint dwMaxTokens,
IVsSearchToken[] rgpSearchTokens
)
unsigned int GetTokens(
[InAttribute] unsigned int dwMaxTokens,
[OutAttribute] array<IVsSearchToken^>^ rgpSearchTokens
)
abstract GetTokens :
dwMaxTokens:uint32 *
rgpSearchTokens:IVsSearchToken[] byref -> uint32
function GetTokens(
dwMaxTokens : uint,
rgpSearchTokens : IVsSearchToken[]
) : uint
Parameters
dwMaxTokens
Type: UInt32[in] The maximum number of search tokens.
rgpSearchTokens
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsSearchToken[][out, size_is(dwMaxTokens), length_is(*pdwTokensReturned)] The search tokens.
Return Value
Type: UInt32
The actual number of search tokens returned in rgpSearchTokens.
.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.