This documentation is archived and is not being maintained.

InternalTypeHelper::CreateDelegate Method

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 public:
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

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: