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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for