WorkspaceServiceHelper.GetIndexWorkspaceDataService(IWorkspace) Method

Definition

Get the IIndexWorkspaceDataService for a workspace instance

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceDataService ^ GetIndexWorkspaceDataService(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceDataService GetIndexWorkspaceDataService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceDataService? GetIndexWorkspaceDataService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetIndexWorkspaceDataService : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceDataService
<Extension()>
Public Function GetIndexWorkspaceDataService (workspace As IWorkspace) As IIndexWorkspaceDataService

Parameters

workspace
IWorkspace

workspace instance

Returns

The instance of the IIndexWorkspaceDataService or null if not found

Applies to