IVsSearchTask Interface

 

Starts or stops a search operation.

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

[GuidAttribute("D709F307-68DB-4600-9EE2-D9F11BA1E005")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSearchTask

NameDescription
System_CAPS_pubpropertyErrorCode

Gets the error code for the search (meaningful only if the search has encountered an error).

System_CAPS_pubpropertyId

Gets the VSCOOKIE identifying the task.

System_CAPS_pubpropertySearchQuery

Gets the search query used when the search task was created.

System_CAPS_pubpropertyStatus

Gets the task status, with values from __VSSEARCHTASKSTATUS.

NameDescription
System_CAPS_pubmethodStart()

Starts the actual search. Search operations are always called on background threads.

System_CAPS_pubmethodStop()

Stops a previously-started search (for example, the user clicked the X button during a long search).

Return to top
Show: