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
'宣言
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
)
Parameters
- filterField
Type: System.String
The filter field to use.
- filterValue
Type: System.String
The filter value to use.
- filterTokenType
Type: Microsoft.VisualStudio.Shell.Interop.__VSSEARCHFILTERTOKENTYPE
The 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.