System.Reflection.ParameterInfo: Method Members

The methods of System.Reflection.ParameterInfo are listed below. For a list of all members, see the ParameterInfo Members list.

See Also: Inherited members from System.Object

Public Methods

GetCustomAttributes(bool) : object[]

Gets all the custom attributes defined on this parameter.

GetCustomAttributes(Type, bool) : object[]

Gets the custom attributes of the specified type or its derived types that are applied to this parameter.

GetCustomAttributesData() : IList<CustomAttributeData>

Returns a list of System.Reflection.CustomAttributeData objects for the current parameter, which can be used in the reflection-only context.

GetOptionalCustomModifiers() : Type[]

Gets the optional custom modifiers of the parameter.

GetRequiredCustomModifiers() : Type[]

Gets the required custom modifiers of the parameter.

IsDefined(Type, bool) : bool

Determines whether the custom attribute of the specified type or its derived types is applied to this parameter.

override
ToString() : string

Gets the parameter type and name represented as a string.