InternalTypeHelper::CreateDelegate Method (Type^, Object^, String^)

 

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)

public protected:
virtual Delegate^ CreateDelegate(
	Type^ delegateType,
	Object^ target,
	String^ handler
) abstract

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: