GenericTypeParameterBuilder.SetBaseTypeConstraintCore(Type) 方法

定义

在派生类中重写时,设置类型必须继承的基类型才能替换类型参数。

protected:
 abstract void SetBaseTypeConstraintCore(Type ^ baseTypeConstraint);
protected abstract void SetBaseTypeConstraintCore (Type? baseTypeConstraint);
abstract member SetBaseTypeConstraintCore : Type -> unit
Protected MustOverride Sub SetBaseTypeConstraintCore (baseTypeConstraint As Type)

参数

baseTypeConstraint
Type

任何将替换为类型参数的类型必须继承的 Type

适用于