次の方法で共有


ParameterInfo クラス

パラメータの属性を取得し、パラメータのメタデータにアクセスできるようにします。

この型のすべてのメンバの一覧については、ParameterInfo メンバ を参照してください。

System.Object
   System.Reflection.ParameterInfo

<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

スレッドセーフ

この型は、マルチスレッド操作に対して安全です。

解説

パラメータのデータ型、既定値などに関する情報を取得するには、 ParameterInfo のインスタンスを使用します。

GetParameters は、メソッドのパラメータを順に表す ParameterInfo オブジェクトの配列を返します。

必要条件

名前空間: System.Reflection

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

アセンブリ: Mscorlib (Mscorlib.dll 内)

参照

ParameterInfo メンバ | System.Reflection 名前空間