ExportedDelegate.CreateDelegate(Type) 方法

定义

获取指定类型的委托。

public:
 virtual Delegate ^ CreateDelegate(Type ^ delegateType);
public virtual Delegate CreateDelegate (Type delegateType);
public virtual Delegate? CreateDelegate (Type delegateType);
abstract member CreateDelegate : Type -> Delegate
override this.CreateDelegate : Type -> Delegate
Public Overridable Function CreateDelegate (delegateType As Type) As Delegate

参数

delegateType
Type

要返回的委托的类型。

返回

指定类型的委托;如果无法创建此类委托,则为 null

适用于