System.Reflection.ParameterInfo.Attributes Property

Gets the attributes for this parameter.

Syntax

public virtual ParameterAttributes Attributes { get; }

Value

A System.Reflection.ParameterAttributes value representing the attributes for the parameter reflected by the current instance.

Remarks

This method utilizes the ParameterInfo.AttrsImpl 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