ExportedDelegate.CreateDelegate Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets a delegate of the specified type.
Namespace: System.ComponentModel.Composition.Primitives
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.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 return.
Return Value
Type: System.Delegate
A delegate of the specified type, or nulla null reference (Nothing in Visual Basic) if no such delegate can be created.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.