CustomAttributeBuilder コンストラクタ (ConstructorInfo, Object[])
アセンブリ: mscorlib (mscorlib.dll 内)

Dim con As ConstructorInfo Dim constructorArgs As Object() Dim instance As New CustomAttributeBuilder(con, constructorArgs)


constructorArgs 配列の要素は、要素型に制約されます。byte、sbyte、int、uint、long、ulong、float、double、String、char、bool、enum、type、これらの型のうちオブジェクトにキャストされた任意の型、これらの型のインデックス番号が 0 から始まる 1 次元配列のいずれでもかまいません。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CustomAttributeBuilder コンストラクタ (ConstructorInfo, Object[], PropertyInfo[], Object[], FieldInfo[], Object[])
アセンブリ: mscorlib (mscorlib.dll 内)

Public Sub New ( _ con As ConstructorInfo, _ constructorArgs As Object(), _ namedProperties As PropertyInfo(), _ propertyValues As Object(), _ namedFields As FieldInfo(), _ fieldValues As Object() _ )
Dim con As ConstructorInfo Dim constructorArgs As Object() Dim namedProperties As PropertyInfo() Dim propertyValues As Object() Dim namedFields As FieldInfo() Dim fieldValues As Object() Dim instance As New CustomAttributeBuilder(con, constructorArgs, namedProperties, propertyValues, namedFields, fieldValues)
public CustomAttributeBuilder ( ConstructorInfo con, Object[] constructorArgs, PropertyInfo[] namedProperties, Object[] propertyValues, FieldInfo[] namedFields, Object[] fieldValues )
public: CustomAttributeBuilder ( ConstructorInfo^ con, array<Object^>^ constructorArgs, array<PropertyInfo^>^ namedProperties, array<Object^>^ propertyValues, array<FieldInfo^>^ namedFields, array<Object^>^ fieldValues )
public CustomAttributeBuilder ( ConstructorInfo con, Object[] constructorArgs, PropertyInfo[] namedProperties, Object[] propertyValues, FieldInfo[] namedFields, Object[] fieldValues )
public function CustomAttributeBuilder ( con : ConstructorInfo, constructorArgs : Object[], namedProperties : PropertyInfo[], propertyValues : Object[], namedFields : FieldInfo[], fieldValues : Object[] )

例外の種類 | 条件 |
---|---|
ArgumentException | namedProperties 配列と propertyValues 配列の長さが違います。 または namedFields と namedValues の長さが違います。 または または 指定された引数の数が、コンストラクタの呼び出し規約で必要とされる、コンストラクタのパラメータの数と一致しません。 または 指定された引数の型が、コンストラクタ内で宣言されたパラメータの型と一致しません。 または または または または |
ArgumentNullException | パラメータまたは配列パラメータの要素のいずれかが null 参照 (Visual Basic では Nothing) です。 |

constructorArgs、propertyValues または fieldValues 配列の要素は、要素型に制約されます。byte、sbyte、int、uint、long、ulong、float、double、String、char、bool、enum、type、これらの型のうちオブジェクトにキャストされた任意の型、これらの型のインデックス番号が 0 から始まる 1 次元配列のいずれでもかまいません。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CustomAttributeBuilder コンストラクタ (ConstructorInfo, Object[], PropertyInfo[], Object[])
アセンブリ: mscorlib (mscorlib.dll 内)

Public Sub New ( _ con As ConstructorInfo, _ constructorArgs As Object(), _ namedProperties As PropertyInfo(), _ propertyValues As Object() _ )
Dim con As ConstructorInfo Dim constructorArgs As Object() Dim namedProperties As PropertyInfo() Dim propertyValues As Object() Dim instance As New CustomAttributeBuilder(con, constructorArgs, namedProperties, propertyValues)
public CustomAttributeBuilder ( ConstructorInfo con, Object[] constructorArgs, PropertyInfo[] namedProperties, Object[] propertyValues )
public: CustomAttributeBuilder ( ConstructorInfo^ con, array<Object^>^ constructorArgs, array<PropertyInfo^>^ namedProperties, array<Object^>^ propertyValues )
public CustomAttributeBuilder ( ConstructorInfo con, Object[] constructorArgs, PropertyInfo[] namedProperties, Object[] propertyValues )
public function CustomAttributeBuilder ( con : ConstructorInfo, constructorArgs : Object[], namedProperties : PropertyInfo[], propertyValues : Object[] )


constructorArgs 配列および propertyValues 配列の要素は、要素型に制約されます。byte、sbyte、int、uint、long、ulong、float、double、String、char、bool、enum、type、これらの型のうちオブジェクトにキャストされた任意の型、これらの型のインデックス番号が 0 から始まる 1 次元配列のいずれでもかまいません。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CustomAttributeBuilder コンストラクタ (ConstructorInfo, Object[], FieldInfo[], Object[])
アセンブリ: mscorlib (mscorlib.dll 内)

Public Sub New ( _ con As ConstructorInfo, _ constructorArgs As Object(), _ namedFields As FieldInfo(), _ fieldValues As Object() _ )
Dim con As ConstructorInfo Dim constructorArgs As Object() Dim namedFields As FieldInfo() Dim fieldValues As Object() Dim instance As New CustomAttributeBuilder(con, constructorArgs, namedFields, fieldValues)
public CustomAttributeBuilder ( ConstructorInfo con, Object[] constructorArgs, FieldInfo[] namedFields, Object[] fieldValues )
public: CustomAttributeBuilder ( ConstructorInfo^ con, array<Object^>^ constructorArgs, array<FieldInfo^>^ namedFields, array<Object^>^ fieldValues )
public CustomAttributeBuilder ( ConstructorInfo con, Object[] constructorArgs, FieldInfo[] namedFields, Object[] fieldValues )
public function CustomAttributeBuilder ( con : ConstructorInfo, constructorArgs : Object[], namedFields : FieldInfo[], fieldValues : Object[] )


constructorArgs 配列および fieldValues 配列の要素は、要素型に制約されます。byte、sbyte、int、uint、long、ulong、float、double、String、char、bool、enum、type、これらの型のうちオブジェクトにキャストされた任意の型、これらの型のインデックス番号が 0 から始まる 1 次元配列のいずれでもかまいません。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


CustomAttributeBuilder コンストラクタ

名前 | 説明 |
---|---|
CustomAttributeBuilder (ConstructorInfo, Object[]) | カスタム属性のコンストラクタ、およびそのコンストラクタの引数を指定して、CustomAttributeBuilder クラスのインスタンスを初期化します。 |
CustomAttributeBuilder (ConstructorInfo, Object[], FieldInfo[], Object[]) | カスタム属性のコンストラクタ、そのコンストラクタの引数、および名前付きフィールドと値のペアのセットを指定して、CustomAttributeBuilder クラスのインスタンスを初期化します。 |
CustomAttributeBuilder (ConstructorInfo, Object[], PropertyInfo[], Object[]) | カスタム属性のコンストラクタ、そのコンストラクタの引数、および名前付きプロパティまたは値のペアのセットを指定して、CustomAttributeBuilder クラスのインスタンスを初期化します。 |
CustomAttributeBuilder (ConstructorInfo, Object[], PropertyInfo[], Object[], FieldInfo[], Object[]) | カスタム属性のコンストラクタ、そのコンストラクタの引数、名前付きプロパティまたは値のペアのセット、および名前付きフィールドまたは値のペアのセットを指定して、CustomAttributeBuilder クラスのインスタンスを初期化します。 |

- CustomAttributeBuilder コンストラクタのページへのリンク