Edit

Share via


MethodBuilder.DefineGenericParametersCore(String[]) Method

Definition

When overridden in a derived class, sets the number of generic type parameters for the current method, specifies their names, and returns an array of GenericTypeParameterBuilder objects that can be used to define their constraints.

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 strings that represent the names of the generic type parameters.

Returns

An array of GenericTypeParameterBuilder objects representing the type parameters of the generic method.

Applies to