Sdílet prostřednictvím


IVsSearchTask Interface

Definition

Starts or stops a search operation.

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

Properties

ErrorCode

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

Id

Gets the VSCOOKIE identifying the task.

SearchQuery

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

Status

Gets the task status, with values from __VSSEARCHTASKSTATUS.

Methods

Start()

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

Stop()

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

Applies to