WorkspaceServiceHelper.GetIndexWorkspaceDataService(IWorkspace) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
An instance of IIndexWorkspaceDataService or null.