Export (0) Print
Expand All

ParameterInfo Class

Discovers the attributes of a parameter and provides access to parameter metadata.

For a list of all members of this type, see ParameterInfo Members.

System.Object
   System.Reflection.ParameterInfo

[Visual Basic]
<Serializable>
Public Class ParameterInfo
   Implements ICustomAttributeProvider
[C#]
[Serializable]
public class ParameterInfo : ICustomAttributeProvider
[C++]
[Serializable]
public __gc class ParameterInfo : public ICustomAttributeProvider
[JScript]
public
   Serializable
class ParameterInfo implements ICustomAttributeProvider

Thread Safety

This type is safe for multithreaded operations.

Remarks

Use an instance of ParameterInfo to obtain information about the parameter's data type, default value, and so on.

GetParameters returns an array of ParameterInfo objects representing the parameters of a method, in order.

Requirements

Namespace: System.Reflection

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

ParameterInfo Members | System.Reflection Namespace

Show:
© 2014 Microsoft