CustomAttributeTypedArgument コンストラクター

定義

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

オーバーロード

名前 説明
CustomAttributeTypedArgument(Object)

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

CustomAttributeTypedArgument(Type, Object)

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

CustomAttributeTypedArgument(Object)

ソース:
CustomAttributeTypedArgument.cs
ソース:
CustomAttributeTypedArgument.cs
ソース:
CustomAttributeTypedArgument.cs
ソース:
CustomAttributeTypedArgument.cs
ソース:
CustomAttributeTypedArgument.cs

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

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

適用対象

CustomAttributeTypedArgument(Type, Object)

ソース:
CustomAttributeTypedArgument.cs
ソース:
CustomAttributeTypedArgument.cs
ソース:
CustomAttributeTypedArgument.cs
ソース:
CustomAttributeTypedArgument.cs
ソース:
CustomAttributeTypedArgument.cs

指定した型と値を使用して、 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 クラスの継承子によって使用されます。 これは、アプリケーション コードでの使用を目的としたものではありません。

適用対象