WorkspaceServiceHelper.GetIndexWorkspaceService(IWorkspace) Method
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 IIndexWorkspaceService for a workspace instance.
C++
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::VisualStudio::Workspace::Indexing::IIndexWorkspaceService ^ GetIndexWorkspaceService(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceService GetIndexWorkspaceService(this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceService? GetIndexWorkspaceService(this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetIndexWorkspaceService : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.Indexing.IIndexWorkspaceService
<Extension()>
Public Function GetIndexWorkspaceService (workspace As IWorkspace) As IIndexWorkspaceService
- workspace
- IWorkspace
workspace instance.
The instance of the IIndexWorkspaceService or null if not found.
Produkt | Verzie |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |