ItemPolicy.Context 속성
업데이트: 2007년 11월
디자이너의 편집 컨텍스트를 가져옵니다.
네임스페이스: Microsoft.Windows.Design.Policies
어셈블리: Microsoft.Windows.Design.Extensibility(Microsoft.Windows.Design.Extensibility.dll)
구문
Protected ReadOnly Property Context As EditingContext
Dim value As EditingContext
value = Me.Context
protected EditingContext Context { get; }
protected:
property EditingContext^ Context {
EditingContext^ get ();
}
protected function get Context () : EditingContext
속성 값
형식: Microsoft.Windows.Design.EditingContext
예외
예외 | 상황 |
---|---|
InvalidOperationException | 정책이 활성화되지 않은 경우 |
설명
활성화되지 않은 정책에 액세스하면 Context 속성에서 예외가 발생합니다.
권한
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.
참고 항목
참조
Microsoft.Windows.Design.Policies 네임스페이스