Sdílet prostřednictvím


WorkspaceServiceHelper.GetCustomContextService(IWorkspace) Metoda

Definice

Vrácení služby 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);
static member GetCustomContextService : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.CustomContexts.ICustomContextService
<Extension()>
Public Function GetCustomContextService (workspace As IWorkspace) As ICustomContextService

Parametry

workspace
IWorkspace

instance pracovního prostoru

Návraty

Instance ICustomContextService nebo null, pokud není nalezena

Platí pro