CustomAttributeTypedArgument コンストラクター

定義

CustomAttributeTypedArgument クラスの新しいインスタンスを初期化します。

オーバーロード

CustomAttributeTypedArgument(Object)

指定した値を使用して、CustomAttributeTypedArgument クラスの新しいインスタンスを初期化します。

CustomAttributeTypedArgument(Type, Object)

指定した型と値を使用して、CustomAttributeTypedArgument クラスの新しいインスタンスを初期化します。

CustomAttributeTypedArgument(Object)

指定した値を使用して、CustomAttributeTypedArgument クラスの新しいインスタンスを初期化します。

public:
 CustomAttributeTypedArgument(System::Object ^ value);
public CustomAttributeTypedArgument (object value);
new System.Reflection.CustomAttributeTypedArgument : obj -> System.Reflection.CustomAttributeTypedArgument
Public Sub New (value As Object)

パラメーター

value
Object

カスタム属性の引数の値。

例外

valuenullです。

注釈

引数の型は value .. の型から推論されるため、このコンストラクターに対してパラメーターをvalue指定することはできませんnull。 値を null 指定するには、コンストラクターを CustomAttributeTypedArgument(Type, Object) 使用します。

このコンストラクターは、クラスの継承子によって使用されます CustomAttributeTypedArgument 。 これは、アプリケーション コードでの使用を意図したものではありません。

適用対象

CustomAttributeTypedArgument(Type, Object)

指定した型と値を使用して、CustomAttributeTypedArgument クラスの新しいインスタンスを初期化します。

public:
 CustomAttributeTypedArgument(Type ^ argumentType, System::Object ^ value);
public CustomAttributeTypedArgument (Type argumentType, object value);
public CustomAttributeTypedArgument (Type argumentType, object? value);
new System.Reflection.CustomAttributeTypedArgument : Type * obj -> System.Reflection.CustomAttributeTypedArgument
Public Sub New (argumentType As Type, value As Object)

パラメーター

argumentType
Type

カスタム属性の引数の型。

value
Object

カスタム属性の引数の値。

例外

argumentTypenullです。

注釈

このコンストラクターは、クラスの継承子によって使用されます CustomAttributeTypedArgument 。 これは、アプリケーション コードでの使用を意図したものではありません。

適用対象