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 物件的陣列,代表類型必須實作才能取代成類型參數的介面。

適用於