Share via


ICallHierarchyMemberItem.StartSearch Method

Definition

Starts a search in the specified category, constrained to the specified scope. The provider can call on the callback to report found items.

public:
 void StartSearch(System::String ^ categoryName, Microsoft::VisualStudio::Language::CallHierarchy::CallHierarchySearchScope searchScope, Microsoft::VisualStudio::Language::CallHierarchy::ICallHierarchySearchCallback ^ callback);
public:
 void StartSearch(Platform::String ^ categoryName, Microsoft::VisualStudio::Language::CallHierarchy::CallHierarchySearchScope searchScope, Microsoft::VisualStudio::Language::CallHierarchy::ICallHierarchySearchCallback ^ callback);
void StartSearch(std::wstring const & categoryName, Microsoft::VisualStudio::Language::CallHierarchy::CallHierarchySearchScope searchScope, Microsoft::VisualStudio::Language::CallHierarchy::ICallHierarchySearchCallback const & callback);
public void StartSearch (string categoryName, Microsoft.VisualStudio.Language.CallHierarchy.CallHierarchySearchScope searchScope, Microsoft.VisualStudio.Language.CallHierarchy.ICallHierarchySearchCallback callback);
abstract member StartSearch : string * Microsoft.VisualStudio.Language.CallHierarchy.CallHierarchySearchScope * Microsoft.VisualStudio.Language.CallHierarchy.ICallHierarchySearchCallback -> unit
Public Sub StartSearch (categoryName As String, searchScope As CallHierarchySearchScope, callback As ICallHierarchySearchCallback)

Parameters

categoryName
String

The name of the category to search (for example, calls from, calls to, or initializers).

searchScope
CallHierarchySearchScope

The constraining scope for the search, such as solution or project.

callback
ICallHierarchySearchCallback

The object to call on to report found items.

Applies to