IMonitorSelectionService 인터페이스
셸의 현재 선택 상태를 모니터링합니다.
이 API는 CLS 규격이 아닙니다.
네임스페이스: Microsoft.VisualStudio.Modeling.Shell
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
구문
‘선언
<CLSCompliantAttribute(False)> _
Public Interface IMonitorSelectionService
[CLSCompliantAttribute(false)]
public interface IMonitorSelectionService
IMonitorSelectionService 형식에서는 다음과 같은 멤버를 노출합니다.
속성
이름 | 설명 | |
---|---|---|
![]() |
CurrentDocument | 활성 문서를 가져옵니다. |
![]() |
CurrentDocumentView | 활성 문서 뷰를 가져옵니다. |
![]() |
CurrentSelectionContainer | 활성 선택 컨테이너를 가져옵니다. |
![]() |
CurrentUndoManager | 활성 상태인 문서 창에 할당된 UndoManager를 가져옵니다. |
![]() |
CurrentWindow | 활성화된 문서 창 또는 도구 창을 가져옵니다. |
![]() |
CurrentWindowFrame | 활성화된 문서 프레임 또는 도구 창 프레임을 가져옵니다. |
위쪽
메서드
이름 | 설명 | |
---|---|---|
![]() |
GetCommandContextCookie | 지정된 명령 UI 컨텍스트에 할당된 쿠키를 가져옵니다. |
![]() |
IsCommandContextActive(Guid) | 지정된 명령 UI 컨텍스트가 활성화되어 있는지 여부를 확인합니다. |
![]() |
IsCommandContextActive(UInt32) | 지정된 쿠키에 대한 명령 UI 컨텍스트가 활성화되어 있는지 여부를 확인합니다. |
위쪽
이벤트
이름 | 설명 | |
---|---|---|
![]() |
CommandContextChanged | 명령 UI 컨텍스트를 활성화 또는 비활성화하면 발생합니다. |
![]() |
DocumentChanged | 문서가 변경될 경우 발생합니다. |
![]() |
DocumentWindowChanged | 문서 창이 변경될 경우 발생합니다. |
![]() |
SelectionChanged | 현재 선택이 변경될 때 발생합니다. |
![]() |
UndoManagerChanged | 현재 UndoManager가 변경될 경우 발생합니다. |
![]() |
WindowChanged | 창 프레임이 변경되면 발생합니다. |
위쪽