WorkspaceServiceHelper.GetIndexWorkspaceService(IWorkspace) Method

Definition

Get the IIndexWorkspaceService for a workspace instance.

C++
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService ^ GetIndexWorkspaceService(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);

Parameters

workspace
IWorkspace

workspace instance.

Returns

The instance of the IIndexWorkspaceService or null if not found.

Applies to

Produkt Verzie
Visual Studio SDK 2017, 2019, 2022