Share via


CustomAttributeTypedArgument コンストラクター

定義

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

オーバーロード

CustomAttributeTypedArgument(Object)

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

CustomAttributeTypedArgument(Type, Object)

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

CustomAttributeTypedArgument(Object)

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

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

適用対象

CustomAttributeTypedArgument(Type, Object)

ソース:
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 。 これは、アプリケーション コードでの使用を目的としたものではありません。

適用対象