IMonitorSelectionService 인터페이스

셸에서 현재 선택 상태를 모니터링합니다.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.VisualStudio.Modeling.Shell
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Public Interface IMonitorSelectionService
[CLSCompliantAttribute(false)]
public interface IMonitorSelectionService

IMonitorSelectionService 형식에서는 다음과 같은 멤버를 노출합니다.

속성

  이름 설명
Public 속성 CurrentDocument 활성 문서를 가져옵니다.
Public 속성 CurrentDocumentView 현재 문서의 뷰를 가져옵니다.
Public 속성 CurrentSelectionContainer 현재 선택한 컨테이너를 가져옵니다.
Public 속성 CurrentUndoManager 가져옵니다는 UndoManager 활성화 된 문서 창에 할당 됩니다.
Public 속성 CurrentWindow 문서 창이 나 활성 도구 창을 가져옵니다.
Public 속성 CurrentWindowFrame 문서 프레임 또는 활성 도구 창 프레임을 가져옵니다.

위쪽

메서드

  이름 설명
Public 메서드 GetCommandContextCookie 지정 된 명령 UI 컨텍스트에 지정 된 쿠키를 가져옵니다.
Public 메서드 IsCommandContextActive(Guid) 지정 된 명령 UI 컨텍스트 활성화 되어 있는지 여부를 확인 합니다.
Public 메서드 IsCommandContextActive(UInt32) 지정 된 쿠키에 대 한 명령 UI 컨텍스트 활성화 되어 있는지 여부를 확인 합니다.

위쪽

이벤트

  이름 설명
Public 이벤트 CommandContextChanged 명령 UI 컨텍스트를 활성화 또는 비활성화 되 면 발생 합니다.
Public 이벤트 DocumentChanged 문서가 변경 될 때 발생 합니다.
Public 이벤트 DocumentWindowChanged 문서 창이 변경 될 때 발생 합니다.
Public 이벤트 SelectionChanged 현재 선택이 변경될 경우 발생합니다.
Public 이벤트 UndoManagerChanged 발생 하는 경우 현재 UndoManager 변경 합니다.
Public 이벤트 WindowChanged 창 프레임 변경 될 때 발생 합니다.

위쪽

참고 항목

참조

Microsoft.VisualStudio.Modeling.Shell 네임스페이스