InternalTypeHelper.CreateDelegate Method (Type, Object, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Markup
Assembly:  WindowsBase (in WindowsBase.dll)

protected internal abstract Delegate CreateDelegate(
	Type delegateType,
	object target,
	string handler
)

Parameters

delegateType
Type: System.Type

The Type of the delegate.

target
Type: System.Object

The target where the handler is attached.

handler
Type: System.String

The name of the handler implementation.

Return Value

Type: System.Delegate

The delegate reference.

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

.NET Framework
Available since 3.0
Return to top
Show: