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: UInt32[in] The cookie that identifies the search task.
pSearchQuery
Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery[in] The search query against which the search task should operate.
pSearchCallback
Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchProviderCallback[in] A callback to report search progress.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchTask
An IVsSearchTask that identifies the search task.
.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.