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.11.0 (in Microsoft.VisualStudio.Shell.11.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: System.StringThe filter field to use.
filterValue
Type: System.StringThe filter value to use.
filterTokenType
Type: Microsoft.VisualStudio.Shell.Interop.__VSSEARCHFILTERTOKENTYPEThe type of filter token to return.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchFilterToken
Returns the search filter token specified.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.