Freigeben über


SearchUtilities.BuildSearchString Method

Definition

Overloads

BuildSearchString(IVsSearchQuery)

Rebuilds a search string from a search query

BuildSearchString(IVsSearchToken[])

Rebuilds a search string from an array of search tokens

BuildSearchString(IVsSearchQuery)

Rebuilds a search string from a search query

public:
 static System::String ^ BuildSearchString(Microsoft::VisualStudio::Shell::Interop::IVsSearchQuery ^ searchQuery);
public:
 static Platform::String ^ BuildSearchString(Microsoft::VisualStudio::Shell::Interop::IVsSearchQuery ^ searchQuery);
 static std::wstring BuildSearchString(Microsoft::VisualStudio::Shell::Interop::IVsSearchQuery const & searchQuery);
public static string BuildSearchString (Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery searchQuery);
static member BuildSearchString : Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery -> string
Public Shared Function BuildSearchString (searchQuery As IVsSearchQuery) As String

Parameters

searchQuery
IVsSearchQuery

A search query to get the search string from

Returns

The rebuilt string of the search query

Applies to

BuildSearchString(IVsSearchToken[])

Rebuilds a search string from an array of search tokens

public:
 static System::String ^ BuildSearchString(cli::array <Microsoft::VisualStudio::Shell::Interop::IVsSearchToken ^> ^ searchTokens);
public:
 static Platform::String ^ BuildSearchString(Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsSearchToken ^> ^ searchTokens);
 static std::wstring BuildSearchString(std::Array <Microsoft::VisualStudio::Shell::Interop::IVsSearchToken const &> const & searchTokens);
public static string BuildSearchString (Microsoft.VisualStudio.Shell.Interop.IVsSearchToken[] searchTokens);
static member BuildSearchString : Microsoft.VisualStudio.Shell.Interop.IVsSearchToken[] -> string
Public Shared Function BuildSearchString (searchTokens As IVsSearchToken()) As String

Parameters

searchTokens
IVsSearchToken[]

An array of search tokens to get the search string from

Returns

The rebuilt string of the search tokens

Applies to