Click or drag to resize
ParameterInfo Class
Discovers the attributes of a parameter and provides access to parameter metadata.
Inheritance Hierarchy
SystemObject
  System.ReflectionParameterInfo

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
[SerializableAttribute]
public class ParameterInfo : _ParameterInfo, 
	ICustomAttributeProvider, IObjectReference

The ParameterInfo type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCustomAttributes(Boolean)
Gets all the custom attributes defined on this parameter.
Public methodGetCustomAttributes(Type, Boolean)
Gets the custom attributes of the specified type or its derived types that are applied to this parameter.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets the parameter type and name represented as a string.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Protected fieldAttrsImpl
The attributes of the parameter.
Protected fieldClassImpl
The Type of the parameter.
Protected fieldDefaultValueImpl
The default value of the parameter.
Protected fieldMemberImpl
The member in which the field is implemented.
Protected fieldNameImpl
The name of the parameter.
Protected fieldPositionImpl
The zero-based position of the parameter in the parameter list.
Top
Properties
  NameDescription
Public propertyName
Gets the name of the parameter.
Public propertyParameterType
Gets the Type of this parameter.
Public propertyPosition
Gets the zero-based position of the parameter in the formal parameter list.
Top
See Also