DelegateSearchTask 构造函数

定义

创建 DelegateSearchTask 的实例。

public:
 DelegateSearchTask(System::UInt32 dwCookie, Microsoft::VisualStudio::Shell::Interop::IVsSearchQuery ^ searchQuery, Microsoft::VisualStudio::Shell::Interop::IVsSearchCallback ^ searchCallback, Action<Microsoft::VisualStudio::PlatformUI::DelegateSearchTask ^> ^ searchAction);
public DelegateSearchTask (uint dwCookie, Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery searchQuery, Microsoft.VisualStudio.Shell.Interop.IVsSearchCallback searchCallback, Action<Microsoft.VisualStudio.PlatformUI.DelegateSearchTask> searchAction);
new Microsoft.VisualStudio.PlatformUI.DelegateSearchTask : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery * Microsoft.VisualStudio.Shell.Interop.IVsSearchCallback * Action<Microsoft.VisualStudio.PlatformUI.DelegateSearchTask> -> Microsoft.VisualStudio.PlatformUI.DelegateSearchTask
Public Sub New (dwCookie As UInteger, searchQuery As IVsSearchQuery, searchCallback As IVsSearchCallback, searchAction As Action(Of DelegateSearchTask))

参数

dwCookie
UInt32

Cookie。

searchQuery
IVsSearchQuery

搜索查询。

searchCallback
IVsSearchCallback

搜索回调。

searchAction
Action<DelegateSearchTask>

搜索操作。

适用于