Subscribe Method

Helper method that subscribes to selection change events.

Namespace:  Microsoft.Data.Tools.Design.Core.Context
Assembly:  Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)

Syntax

'Declaration
Public Shared Sub Subscribe ( _
    context As EditingContext, _
    handler As SubscribeContextCallback(Of Selection(Of T, Owner)) _
)
'Usage
Dim context As EditingContext
Dim handler As SubscribeContextCallback(Of Selection(Of T, Owner))

Selection.Subscribe(context, handler)
public static void Subscribe(
    EditingContext context,
    SubscribeContextCallback<Selection<T, Owner>> handler
)
public:
static void Subscribe(
    EditingContext^ context, 
    SubscribeContextCallback<Selection<T, Owner>^>^ handler
)
static member Subscribe : 
        context:EditingContext * 
        handler:SubscribeContextCallback<Selection<'T, 'Owner>> -> unit 
public static function Subscribe(
    context : EditingContext, 
    handler : SubscribeContextCallback<Selection<T, Owner>>
)

Parameters

See Also

Reference

Selection< (Of < ( <'T, Owner> ) > ) > Class

Microsoft.Data.Tools.Design.Core.Context Namespace