Share via


MethodInfo.CreateDelegate Method (Type)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Creates a delegate of the specified type from this method.

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

Syntax

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

Parameters

  • delegateType
    Type: System.Type
    The type of the delegate to create.

Return Value

Type: System.Delegate
The delegate for this method.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.