SearchUtilities.ExtractSearchTokens Method
Extracts and returns search tokens from the specified search query.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Shared Function ExtractSearchTokens ( _
query As IVsSearchQuery _
) As IEnumerable(Of IVsSearchToken)
public static IEnumerable<IVsSearchToken> ExtractSearchTokens(
IVsSearchQuery query
)
Parameters
- query
Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery
The search query from which to extract search tokens.
Return Value
Type: System.Collections.Generic.IEnumerable<IVsSearchToken>
Returns the search tokens found in the search query.
.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.