Compartilhar via


WorkspaceServiceHelper.GetIndexWorkspaceService(IWorkspace) Método

Definição

Obter o IIndexWorkspaceService para uma instância de workspace

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

Parâmetros

workspace
IWorkspace

instância do workspace

Retornos

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

Aplica-se a