EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

MethodInfo.CreateDelegate Method (Type, Object)

May 11, 2014

Creates a delegate of the specified type with the specified target from this method.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual Delegate CreateDelegate(
	Type delegateType,
	Object target
)

Parameters

delegateType
Type: System.Type
The type of the delegate to create.
target
Type: System.Object
The object targeted by the delegate.

Return Value

Type: System.Delegate
The delegate for this method.

Windows Phone OS

Supported in: 8.1, 8.0

Afficher:
© 2014 Microsoft