CustomAttributeNamedArgument コンストラクター

定義

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

オーバーロード

名前 説明
CustomAttributeNamedArgument(MemberInfo, Object)

カスタム属性の指定したフィールドまたはプロパティを表す CustomAttributeNamedArgument クラスの新しいインスタンスを初期化し、フィールドまたはプロパティの値を指定します。

CustomAttributeNamedArgument(MemberInfo, CustomAttributeTypedArgument)

カスタム属性の指定したフィールドまたはプロパティを表す CustomAttributeNamedArgument クラスの新しいインスタンスを初期化し、フィールドまたはプロパティの型と値を記述する CustomAttributeTypedArgument オブジェクトを指定します。

CustomAttributeNamedArgument(MemberInfo, Object)

ソース:
CustomAttributeNamedArgument.cs
ソース:
CustomAttributeNamedArgument.cs
ソース:
CustomAttributeNamedArgument.cs
ソース:
CustomAttributeNamedArgument.cs
ソース:
CustomAttributeNamedArgument.cs

カスタム属性の指定したフィールドまたはプロパティを表す CustomAttributeNamedArgument クラスの新しいインスタンスを初期化し、フィールドまたはプロパティの値を指定します。

public:
 CustomAttributeNamedArgument(System::Reflection::MemberInfo ^ memberInfo, System::Object ^ value);
public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, object? value);
public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, object value);
new System.Reflection.CustomAttributeNamedArgument : System.Reflection.MemberInfo * obj -> System.Reflection.CustomAttributeNamedArgument
Public Sub New (memberInfo As MemberInfo, value As Object)

パラメーター

memberInfo
MemberInfo

カスタム属性のフィールドまたはプロパティ。 新しい CustomAttributeNamedArgument オブジェクトは、このメンバーとその値を表します。

value
Object

カスタム属性のフィールドまたはプロパティの値。

例外

memberInfonullです。

memberInfo は、カスタム属性のフィールドまたはプロパティではありません。

注釈

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

適用対象

CustomAttributeNamedArgument(MemberInfo, CustomAttributeTypedArgument)

ソース:
CustomAttributeNamedArgument.cs
ソース:
CustomAttributeNamedArgument.cs
ソース:
CustomAttributeNamedArgument.cs
ソース:
CustomAttributeNamedArgument.cs
ソース:
CustomAttributeNamedArgument.cs

カスタム属性の指定したフィールドまたはプロパティを表す CustomAttributeNamedArgument クラスの新しいインスタンスを初期化し、フィールドまたはプロパティの型と値を記述する CustomAttributeTypedArgument オブジェクトを指定します。

public:
 CustomAttributeNamedArgument(System::Reflection::MemberInfo ^ memberInfo, System::Reflection::CustomAttributeTypedArgument typedArgument);
public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, System.Reflection.CustomAttributeTypedArgument typedArgument);
new System.Reflection.CustomAttributeNamedArgument : System.Reflection.MemberInfo * System.Reflection.CustomAttributeTypedArgument -> System.Reflection.CustomAttributeNamedArgument
Public Sub New (memberInfo As MemberInfo, typedArgument As CustomAttributeTypedArgument)

パラメーター

memberInfo
MemberInfo

カスタム属性のフィールドまたはプロパティ。 新しい CustomAttributeNamedArgument オブジェクトは、このメンバーとその値を表します。

typedArgument
CustomAttributeTypedArgument

フィールドまたはプロパティの型と値を記述するオブジェクト。

例外

memberInfonullです。

注釈

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

適用対象