ConstructorBuilder.DefineParameterCore Method

Definition

When overridden in a derived class, defines a parameter of this constructor.

C#
protected abstract System.Reflection.Emit.ParameterBuilder DefineParameterCore(int iSequence, System.Reflection.ParameterAttributes attributes, string strParamName);

Parameters

iSequence
Int32

The position of the parameter in the parameter list. Parameters are indexed beginning with the number 1 for the first parameter.

attributes
ParameterAttributes

The attributes of the parameter.

strParamName
String

The name of the parameter. The name can be the null string.

Returns

A ParameterBuilder that represents the new parameter of this constructor.

Applies to

Product Versions
.NET 8, 9