共用方式為


VsSearchTask Constructor

Initializes a new instance of the VsSearchTask class.

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

Syntax

'宣告
Public Sub New ( _
    dwCookie As UInteger, _
    pSearchQuery As IVsSearchQuery, _
    pSearchCallback As IVsSearchCallback _
)
public VsSearchTask(
    uint dwCookie,
    IVsSearchQuery pSearchQuery,
    IVsSearchCallback pSearchCallback
)

Parameters

Remarks

The VsSearchTask class implements the IVsSearchTask interface and provides basic functionality for setting the search status when the search is in progress or completes. If you are implementing a search task derived from this class, you only need to override the OnStartSearch method to perform the actual search.

.NET Framework Security

See Also

Reference

VsSearchTask Class

Microsoft.VisualStudio.Shell Namespace