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
'Declaration
Public Shared Function ExtractSearchTokens ( _
query As IVsSearchQuery _
) As IEnumerable(Of IVsSearchToken)
public static IEnumerable<IVsSearchToken> ExtractSearchTokens(
IVsSearchQuery query
)
public:
static IEnumerable<IVsSearchToken^>^ ExtractSearchTokens(
IVsSearchQuery^ query
)
static member ExtractSearchTokens :
query:IVsSearchQuery -> IEnumerable<IVsSearchToken>
public static function ExtractSearchTokens(
query : IVsSearchQuery
) : IEnumerable<IVsSearchToken>
Parameters
query
Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchQueryThe 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.