GenericTypeParameterBuilder.SetInterfaceConstraintsCore(Type[]) Méthode

Définition

En cas de substitution dans une classe dérivée, définit les interfaces qu’un type doit implémenter pour pouvoir remplacer le paramètre de 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())

Paramètres

interfaceConstraints
Type[]

Tableau d’objets Type qui représentent les interfaces qu’un type doit implémenter pour être substitué au paramètre de type.

S’applique à