Freigeben über


WorkspaceServiceHelper.GetCustomContextService(IWorkspace) Methode

Definition

Zurückgeben des ICustomContextService-Diensts

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

Parameter

workspace
IWorkspace

arbeitsbereichs-instance

Gibt zurück

Instanz eines ICustomContextService oder null, wenn nicht gefunden

Gilt für: