System.Reflection.ParameterInfo.Position Property

Gets the zero-based position of the parameter in the formal parameter list.

Syntax

public virtual int Position { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Only parameters in the method signature (that is, in the formal parameter list) are considered when calculating the position. For instance methods, the hidden parameter that represents this (Me in Visual Basic) is not counted.

This method utilizes the ParameterInfo.PositionImpl method.

To get the System.Reflection.ParameterInfo array, first get the method or the constructor and then call MethodBase.GetParameters.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0