Udostępnij za pośrednictwem


SearchUtilities.GetSearchFilterToken Method

Definition

Returns a search filter token built from the specified filter token components

public:
 static Microsoft::VisualStudio::Shell::Interop::IVsSearchFilterToken ^ GetSearchFilterToken(System::String ^ filterField, System::String ^ filterValue, Microsoft::VisualStudio::Shell::Interop::__VSSEARCHFILTERTOKENTYPE filterTokenType);
public:
 static Microsoft::VisualStudio::Shell::Interop::IVsSearchFilterToken ^ GetSearchFilterToken(Platform::String ^ filterField, Platform::String ^ filterValue, Microsoft::VisualStudio::Shell::Interop::__VSSEARCHFILTERTOKENTYPE filterTokenType);
 static Microsoft::VisualStudio::Shell::Interop::IVsSearchFilterToken GetSearchFilterToken(std::wstring const & filterField, std::wstring const & filterValue, Microsoft::VisualStudio::Shell::Interop::__VSSEARCHFILTERTOKENTYPE filterTokenType);
public static Microsoft.VisualStudio.Shell.Interop.IVsSearchFilterToken GetSearchFilterToken (string filterField, string filterValue, Microsoft.VisualStudio.Shell.Interop.__VSSEARCHFILTERTOKENTYPE filterTokenType);
static member GetSearchFilterToken : string * string * Microsoft.VisualStudio.Shell.Interop.__VSSEARCHFILTERTOKENTYPE -> Microsoft.VisualStudio.Shell.Interop.IVsSearchFilterToken
Public Shared Function GetSearchFilterToken (filterField As String, filterValue As String, filterTokenType As __VSSEARCHFILTERTOKENTYPE) As IVsSearchFilterToken

Parameters

filterField
String

The filter's field

filterValue
String

The filter's value

filterTokenType
__VSSEARCHFILTERTOKENTYPE

The type of the filter token to be returned

Returns

A search filter token with the specified components

Applies to