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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.