Compartilhar via


SearchUtilities.CreateSearchQuery Method

Creates a new search query from the specified search string.

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

Syntax

'Declaration
Public Shared Function CreateSearchQuery ( _
    searchString As String _
) As IVsSearchQuery
public static IVsSearchQuery CreateSearchQuery(
    string searchString
)
public:
static IVsSearchQuery^ CreateSearchQuery(
    String^ searchString
)
static member CreateSearchQuery : 
        searchString:string -> IVsSearchQuery
public static function CreateSearchQuery(
    searchString : String
) : IVsSearchQuery

Parameters

  • searchString
    Type: String

    String to parse into a search query.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery
Returns the search query created from the specified search string.

.NET Framework Security

See Also

Reference

SearchUtilities Class

Microsoft.VisualStudio.PlatformUI Namespace