共用方式為


IVsSearchQuery.GetTokens(UInt32, IVsSearchToken[]) Method

Definition

Gets the search tokens.

public:
 System::UInt32 GetTokens(System::UInt32 dwMaxTokens, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsSearchToken ^> ^ rgpSearchTokens);
public:
 unsigned int GetTokens(unsigned int dwMaxTokens, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsSearchToken ^> ^ rgpSearchTokens);
unsigned int GetTokens(unsigned int dwMaxTokens, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsSearchToken const &> const & rgpSearchTokens);
public uint GetTokens (uint dwMaxTokens, Microsoft.VisualStudio.Shell.Interop.IVsSearchToken[] rgpSearchTokens);
abstract member GetTokens : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsSearchToken[] -> uint32
Public Function GetTokens (dwMaxTokens As UInteger, rgpSearchTokens As IVsSearchToken()) As UInteger

Parameters

dwMaxTokens
UInt32

[in] The maximum number of search tokens.

rgpSearchTokens
IVsSearchToken[]

[out, size_is(dwMaxTokens), length_is(*pdwTokensReturned)] The search tokens.

Returns

The actual number of search tokens returned in rgpSearchTokens.

Applies to