WorkspaceServiceHelper.GetCustomContextService(IWorkspace) Méthode

Définition

Retourner le service ICustomContextService

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Workspace::CustomContexts::ICustomContextService ^ GetCustomContextService(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static Microsoft.VisualStudio.Workspace.CustomContexts.ICustomContextService GetCustomContextService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static Microsoft.VisualStudio.Workspace.CustomContexts.ICustomContextService? GetCustomContextService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetCustomContextService : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.CustomContexts.ICustomContextService
<Extension()>
Public Function GetCustomContextService (workspace As IWorkspace) As ICustomContextService

Paramètres

workspace
IWorkspace

instance d’espace de travail

Retours

Instance d’un ICustomContextService ou null si introuvable

S’applique à