GenericTypeParameterBuilder.SetInterfaceConstraintsCore(Type[]) Method

Definition

When overridden in a derived class, sets the interfaces a type must implement in order to be substituted for the type parameter.

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())

Parameters

interfaceConstraints
Type[]

An array of Type objects that represent the interfaces a type must implement in order to be substituted for the type parameter.

Applies to