TypeBuilder.DefineGenericParametersCore(String[]) 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, defines the generic type parameters for the current type, specifying their number and their names.
protected:
abstract cli::array <System::Reflection::Emit::GenericTypeParameterBuilder ^> ^ DefineGenericParametersCore(... cli::array <System::String ^> ^ names);
protected abstract System.Reflection.Emit.GenericTypeParameterBuilder[] DefineGenericParametersCore (params string[] names);
abstract member DefineGenericParametersCore : string[] -> System.Reflection.Emit.GenericTypeParameterBuilder[]
Protected MustOverride Function DefineGenericParametersCore (ParamArray names As String()) As GenericTypeParameterBuilder()
Parameters
- names
- String[]
An array of names for the generic type parameters.
Returns
An array of GenericTypeParameterBuilder objects that can be used to define the constraints of the generic type parameters for the current type.
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