Retrieve a positional parameter value from a PositionalParameter instance.
| C# | Visual Basic | Visual C++ |
public static T Positional<T>( IEnumerable<Parameter> parameters, int position )
Public Shared Function Positional(Of T) ( _ parameters As IEnumerable(Of Parameter), _ position As Integer _ ) As T
public: generic<typename T> static T Positional( IEnumerable<Parameter^>^ parameters, int position )
- T
- The type to which the returned value will be cast.
- parameters (IEnumerable<(Of <(Parameter>)>))
- The available parameters to choose from.
- position (Int32)
- The zero-based position of the parameter to select.
The value of the selected parameter.
The position value is the one associated with the parameter when
it was constructed, not its index into the parameters
sequence.