SubscribeContextCallback<TContextItemType> 대리자

컨텍스트 항목이 변경될 때 호출되는 콜백 메서드를 정의합니다.

네임스페이스:  Microsoft.Windows.Design
어셈블리:  Microsoft.Windows.Design.Extensibility(Microsoft.Windows.Design.Extensibility.dll)

구문

‘선언
Public Delegate Sub SubscribeContextCallback(Of TContextItemType As ContextItem) ( _
    item As TContextItemType _
)
public delegate void SubscribeContextCallback<TContextItemType>(
    TContextItemType item
)
where TContextItemType : ContextItem
generic<typename TContextItemType>
where TContextItemType : ContextItem
public delegate void SubscribeContextCallback(
    TContextItemType item
)
type SubscribeContextCallback = 
    delegate of 
        item:'TContextItemType -> unit
JScript에서는 제네릭 형식이나 메서드를 지원하지 않습니다.

Type 매개 변수

  • TContextItemType

매개 변수

  • item
    형식: TContextItemType
    변경된 컨텍스트 항목입니다.

설명

Subscribe 메서드를 사용하여 컨텍스트 항목에 대한 변경 알림을 구독합니다.

참고 항목

참조

Microsoft.Windows.Design 네임스페이스

ContextItemManager

SubscribeContextCallback

ServiceManager

FeatureManager

기타 리소스

컨텍스트 아키텍처 편집

WPF Designer 확장성