共用方式為


IVsSearchQueryParser.BuildSearchStringFromTokens Method

Definition

Retrieves a search string built from a sequence of tokens.

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

Parameters

dwTokens
UInt32

[in] The number of tokens.

pSearchTokens
IVsSearchToken[]

[in, size_is(dwTokens)] The tokens from which to build the search string.

Returns

The built search string.

Applies to