IVsSearchTask IVsSearchTask IVsSearchTask IVsSearchTask IVsSearchTask IVsSearchTask Interface

Definition

Starts or stops a search operation.

public interface class IVsSearchTask
public interface class IVsSearchTask
__interface IVsSearchTask
[System.Runtime.InteropServices.Guid("D709F307-68DB-4600-9EE2-D9F11BA1E005")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSearchTask
type IVsSearchTask = interface
Public Interface IVsSearchTask
Derived
Attributes

Properties

ErrorCode ErrorCode ErrorCode ErrorCode ErrorCode ErrorCode

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

Id Id Id Id Id Id

Gets the VSCOOKIE identifying the task.

SearchQuery SearchQuery SearchQuery SearchQuery SearchQuery SearchQuery

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

Status Status Status Status Status Status

Gets the task status, with values from __VSSEARCHTASKSTATUS.

Methods

Start() Start() Start() Start() Start() Start()

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

Stop() Stop() Stop() Stop() Stop() Stop()

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

Applies to