ParameterInfo Properties

July 28, 2014

The ParameterInfo type exposes the following members.

  NameDescription
Public property Attributes Gets the attributes for this parameter.
Public property CustomAttributes Gets a collection that contains this parameter's custom attributes.
Public property DefaultValue Gets the default value, if the parameter has a default value.
Public property HasDefaultValue Gets a value that indicates whether this parameter has a default value.
Public property IsIn Gets a value indicating whether this is an input parameter.
Public property IsOptional Gets a value indicating whether this parameter is optional.
Public property IsOut Gets a value indicating whether this is an output parameter.
Public property IsRetval Gets a value indicating whether this is a Retval parameter.
Public property Member Gets the member in which the parameter is defined.
Public property MetadataToken Gets a value that identifies this parameter in metadata.
Public property Name Gets the name of the parameter.
Public property ParameterType Gets the type of this parameter.
Public property Position Gets the zero-based position of the parameter in the formal parameter list.
Top

Show:
© 2014 Microsoft