ConstructorBuilder.DefineParameterCore 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 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

Produkt Verzie
.NET 8, 9, 10