Condividi tramite


WorkspaceServiceHelper.GetCustomContextService(IWorkspace) Metodo

Definizione

Restituire il servizio 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

Parametri

workspace
IWorkspace

Istanza dell'area di lavoro

Restituisce

Istanza di un oggetto ICustomContextService o Null se non viene trovato

Si applica a