Compartilhar via


WorkspaceServiceHelper.GetIndexWorkspaceDataService(IWorkspace) Método

Definição

Obter o IIndexWorkspaceDataService para uma instância de workspace

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

Parâmetros

workspace
IWorkspace

instância do workspace

Retornos

A instância do IIndexWorkspaceDataService ou null se não for encontrada

Aplica-se a