共用方式為


SearchUtilities.GetSearchToken(String) Method

Definition

Returns a search token that will parse to the specified token text

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

Parameters

tokenText
String

The text of the token to be returned

Returns

A search token with the specified text

Applies to