ParameterElement Class
A parameter of a method or a constructor.
public sealed class ParameterElementProperties
| Name | Description |
|---|---|
| Attributes | Gets the attributes applied to the parameter. |
| Method | Gets the method that declares the parameter. |
| Name | Gets the name of the parameter, or an empty string when the metadata does not record it. |
| Position | Gets the 0-based position of the parameter. |
| Type | Gets the type of the parameter. |
Attributes
ParameterElement.csGets the attributes applied to the parameter.
public IReadOnlyList<AttributeElement> Attributes { get; }Property value
Method
ParameterElement.csPosition
ParameterElement.csMethods
| Name | Description |
|---|---|
| ToString() | Returns the type and the name of the parameter. |