Επεξεργασία

Κοινή χρήση μέσω


InternalTypeHelper.CreateDelegate(Type, Object, String) Method

Definition

When overridden in a derived (generated) class, creates an event delegate referencing a non-public handler method.

protected public:
 abstract Delegate ^ CreateDelegate(Type ^ delegateType, System::Object ^ target, System::String ^ handler);
protected internal abstract Delegate CreateDelegate (Type delegateType, object target, string handler);
abstract member CreateDelegate : Type * obj * string -> Delegate
Protected Friend MustOverride Function CreateDelegate (delegateType As Type, target As Object, handler As String) As Delegate

Parameters

delegateType
Type

The Type of the delegate.

target
Object

The target where the handler is attached.

handler
String

The name of the handler implementation.

Returns

The delegate reference.

Remarks

The InternalTypeHelper class is not intended for use by anything other than the WPF XAML markup compiler.

Applies to