ToolWindowPane::CreateSearch Method (UInt32, IVsSearchQuery^, IVsSearchCallback^)

 

Override at least this function if you need to support search in a tool window.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
virtual IVsSearchTask^ CreateSearch(
	unsigned int dwCookie,
	IVsSearchQuery^ pSearchQuery,
	IVsSearchCallback^ pSearchCallback
)

Parameters

dwCookie
Type: System::UInt32

The cookie that identifies the search.

pSearchQuery
Type: Microsoft.VisualStudio.Shell.Interop::IVsSearchQuery^

The search query.

pSearchCallback
Type: Microsoft.VisualStudio.Shell.Interop::IVsSearchCallback^

A callback interface whose functions need to be called when the search task is complete or has made more progress.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsSearchTask^

The search task that was created. The search begins when an explicit call to that Start method on the task is made.

Return to top
Show: