다음을 통해 공유


WorkspaceServiceHelper.GetCustomContextService(IWorkspace) 메서드

정의

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

매개 변수

workspace
IWorkspace

작업 영역 instance

반환

ICustomContextService 인스턴스 또는 찾을 수 없는 경우 null

적용 대상