Share via


IVsSearchProvider.CreateSearch Method

Creates a search task from the specified cookie and search query.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function CreateSearch ( _
    dwCookie As UInteger, _
    pSearchQuery As IVsSearchQuery, _
    pSearchCallback As IVsSearchProviderCallback _
) As IVsSearchTask
IVsSearchTask CreateSearch(
    uint dwCookie,
    IVsSearchQuery pSearchQuery,
    IVsSearchProviderCallback pSearchCallback
)
IVsSearchTask^ CreateSearch(
    [InAttribute] unsigned int dwCookie, 
    [InAttribute] IVsSearchQuery^ pSearchQuery, 
    [InAttribute] IVsSearchProviderCallback^ pSearchCallback
)
abstract CreateSearch : 
        dwCookie:uint32 * 
        pSearchQuery:IVsSearchQuery * 
        pSearchCallback:IVsSearchProviderCallback -> IVsSearchTask
function CreateSearch(
    dwCookie : uint, 
    pSearchQuery : IVsSearchQuery, 
    pSearchCallback : IVsSearchProviderCallback
) : IVsSearchTask

Parameters

  • dwCookie
    Type: System.UInt32

    [in] The cookie that identifies the search task.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchTask
An IVsSearchTask that identifies the search task.

.NET Framework Security

See Also

Reference

IVsSearchProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace