Partager via


SearchUtilities.GetSearchToken Method

Gets a search token which parses to the specified text string.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function GetSearchToken ( _
    tokenText As String _
) As IVsSearchToken
public static IVsSearchToken GetSearchToken(
    string tokenText
)
public:
static IVsSearchToken^ GetSearchToken(
    String^ tokenText
)
static member GetSearchToken : 
        tokenText:string -> IVsSearchToken
public static function GetSearchToken(
    tokenText : String
) : IVsSearchToken

Parameters

  • tokenText
    Type: String

    The text to use for the token.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchToken
Returns a search token specified by the text.

.NET Framework Security

See Also

Reference

SearchUtilities Class

Microsoft.VisualStudio.PlatformUI Namespace