Compartir a través de


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.

Return Value

Type: UInt32
The actual number of search tokens returned in rgpSearchTokens.

.NET Framework Security

See Also

Reference

IVsSearchQuery Interface

Microsoft.VisualStudio.Shell.Interop Namespace