WorkspaceServiceHelper.GetIndexWorkspaceService(IWorkspace) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtenir le service IIndexWorkspaceService pour un espace de travail instance
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
Paramètres
- workspace
- IWorkspace
instance d’espace de travail
Retours
Instance du IIndexWorkspaceService ou null si introuvable