InternalTypeHelper.CreateDelegate(Type, Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.