GenericTypeParameterBuilder.SetGenericParameterAttributesCore 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 variance characteristics and special constraints of the generic parameter, such as the parameterless constructor constraint.
protected:
abstract void SetGenericParameterAttributesCore(System::Reflection::GenericParameterAttributes genericParameterAttributes);
protected abstract void SetGenericParameterAttributesCore (System.Reflection.GenericParameterAttributes genericParameterAttributes);
abstract member SetGenericParameterAttributesCore : System.Reflection.GenericParameterAttributes -> unit
Protected MustOverride Sub SetGenericParameterAttributesCore (genericParameterAttributes As GenericParameterAttributes)
Parameters
- genericParameterAttributes
- GenericParameterAttributes
A bitwise combination of the enumeration values that represents the variance characteristics and special constraints of the generic type parameter.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for