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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.