GenericTypeParameterBuilder.SetInterfaceConstraintsCore(Type[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.