GenericTypeParameterBuilder.SetInterfaceConstraintsCore(Type[]) 方法

定义

在派生类中重写时,设置类型必须实现才能替换类型参数的接口。

protected:
 abstract void SetInterfaceConstraintsCore(... cli::array <Type ^> ^ interfaceConstraints);
protected abstract void SetInterfaceConstraintsCore (params Type[]? interfaceConstraints);
abstract member SetInterfaceConstraintsCore : Type[] -> unit
Protected MustOverride Sub SetInterfaceConstraintsCore (ParamArray interfaceConstraints As Type())

参数

interfaceConstraints
Type[]

Type 对象的数组,该数组表示一个类型必须实现以替换为类型参数的接口。

适用于