Compartilhar via


SearchUtilities.GetSearchFilterToken Method

Creates and returns a search filter token built from the specified filter token components.

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

Syntax

'Declaration
Public Shared Function GetSearchFilterToken ( _
    filterField As String, _
    filterValue As String, _
    filterTokenType As __VSSEARCHFILTERTOKENTYPE _
) As IVsSearchFilterToken
public static IVsSearchFilterToken GetSearchFilterToken(
    string filterField,
    string filterValue,
    __VSSEARCHFILTERTOKENTYPE filterTokenType
)
public:
static IVsSearchFilterToken^ GetSearchFilterToken(
    String^ filterField, 
    String^ filterValue, 
    __VSSEARCHFILTERTOKENTYPE filterTokenType
)
static member GetSearchFilterToken : 
        filterField:string * 
        filterValue:string * 
        filterTokenType:__VSSEARCHFILTERTOKENTYPE -> IVsSearchFilterToken
public static function GetSearchFilterToken(
    filterField : String, 
    filterValue : String, 
    filterTokenType : __VSSEARCHFILTERTOKENTYPE
) : IVsSearchFilterToken

Parameters

  • filterField
    Type: String

    The filter field to use.

  • filterValue
    Type: String

    The filter value to use.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchFilterToken
Returns the search filter token specified.

.NET Framework Security

See Also

Reference

SearchUtilities Class

Microsoft.VisualStudio.PlatformUI Namespace