Partager via


SearchUtilities Class

Represents the search utilities for the Visual Studio search control.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.PlatformUI.SearchUtilities

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class SearchUtilities
public static class SearchUtilities
public ref class SearchUtilities abstract sealed
[<AbstractClass>]
[<Sealed>]
type SearchUtilities =  class end
public final class SearchUtilities

The SearchUtilities type exposes the following members.

Methods

  Name Description
Public methodStatic member BuildSearchString(IVsSearchQuery) Rebuilds a search string from the specified search query.
Public methodStatic member BuildSearchString(array<IVsSearchToken[]) Rebuilds a search string from the specified search tokens.
Public methodStatic member CreateSearchQuery Creates a new search query from the specified search string.
Public methodStatic member CreateSearchQueryParser Creates a search query parser object.
Public methodStatic member ExtractSearchTokens Extracts and returns search tokens from the specified search query.
Public methodStatic member GetSearchFilterToken Creates and returns a search filter token built from the specified filter token components.
Public methodStatic member GetSearchToken Gets a search token which parses to the specified text string.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace