Bewerken

Share via


ConstructorBuilder.DefineParameterCore Method

Definition

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

protected:
 abstract System::Reflection::Emit::ParameterBuilder ^ DefineParameterCore(int iSequence, System::Reflection::ParameterAttributes attributes, System::String ^ strParamName);
protected abstract System.Reflection.Emit.ParameterBuilder DefineParameterCore (int iSequence, System.Reflection.ParameterAttributes attributes, string strParamName);
abstract member DefineParameterCore : int * System.Reflection.ParameterAttributes * string -> System.Reflection.Emit.ParameterBuilder
Protected MustOverride Function DefineParameterCore (iSequence As Integer, attributes As ParameterAttributes, strParamName As String) As ParameterBuilder

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