IVsSearchTask Interface

Starts or stops a search operation.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  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

The IVsSearchTask type exposes the following members.

  NameDescription
Public propertyErrorCodeGets the error code for the search (meaningful only if the search has encountered an error).
Public propertyIdGets the VSCOOKIE identifying the task.
Public propertySearchQueryGets the search query used when the search task was created.
Public propertyStatusGets the task status, with values from __VSSEARCHTASKSTATUS.
Top

  NameDescription
Public methodStartStarts the actual search. Search operations are always called on background threads.
Public methodStopStops a previously-started search (for example, the user clicked the X button during a long search).
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft