英語で読む

次の方法で共有


IVsSearchTask Interface

Definition

Starts or stops a search operation.

C#
public interface IVsSearchTask
C#
[System.Runtime.InteropServices.Guid("D709F307-68DB-4600-9EE2-D9F11BA1E005")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
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

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022