MethodInfo.CreateDelegate Method (Type)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a delegate of the specified type from this method.

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

Syntax

Public Overridable Function CreateDelegate ( _
    delegateType As Type _
) As Delegate
public virtual Delegate CreateDelegate(
    Type delegateType
)

Parameters

Return Value

Type: System..::.Delegate
The delegate for this method.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

MethodInfo Class

CreateDelegate Overload

System.Reflection Namespace