InstanceDescriptor コンストラクター

定義

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

オーバーロード

名前 説明
InstanceDescriptor(MemberInfo, ICollection)

指定したメンバー情報と引数を使用して、 InstanceDescriptor クラスの新しいインスタンスを初期化します。

InstanceDescriptor(MemberInfo, ICollection, Boolean)

指定したメンバー情報、引数、および指定した情報がインスタンスを完全に記述するかどうかを示す値を使用して、 InstanceDescriptor クラスの新しいインスタンスを初期化します。

InstanceDescriptor(MemberInfo, ICollection)

ソース:
InstanceDescriptor.cs
ソース:
InstanceDescriptor.cs
ソース:
InstanceDescriptor.cs
ソース:
InstanceDescriptor.cs
ソース:
InstanceDescriptor.cs

指定したメンバー情報と引数を使用して、 InstanceDescriptor クラスの新しいインスタンスを初期化します。

public:
 InstanceDescriptor(System::Reflection::MemberInfo ^ member, System::Collections::ICollection ^ arguments);
public InstanceDescriptor(System.Reflection.MemberInfo? member, System.Collections.ICollection? arguments);
public InstanceDescriptor(System.Reflection.MemberInfo member, System.Collections.ICollection arguments);
new System.ComponentModel.Design.Serialization.InstanceDescriptor : System.Reflection.MemberInfo * System.Collections.ICollection -> System.ComponentModel.Design.Serialization.InstanceDescriptor
Public Sub New (member As MemberInfo, arguments As ICollection)

パラメーター

member
MemberInfo

記述子のメンバー情報。 これには、 MethodInfoConstructorInfoFieldInfo、または PropertyInfoを指定できます。 これが MethodInfoFieldInfo、または PropertyInfoである場合は、 static メンバーを表す必要があります。

arguments
ICollection

メンバーに渡す引数のコレクション。 引数がない場合は、このパラメーターを null または空のコレクションにすることができます。 コレクションは、 InstanceDescriptorの他のインスタンスで構成することもできます。

例外

memberMethodInfo型、 FieldInfo型、または PropertyInfo型であり、 static メンバーを表していません。

-又は-

memberPropertyInfo 型であり、読み取り可能ではありません。

-又は-

memberMethodInfo 型または ConstructorInfo型であり、 arguments 内の引数の数が memberのシグネチャと一致しません。

-又は-

memberConstructorInfo 型であり、 static メンバーを表します。

-又は-

memberFieldInfo型で、 arguments の引数の数は 0 ではありません。

適用対象

InstanceDescriptor(MemberInfo, ICollection, Boolean)

ソース:
InstanceDescriptor.cs
ソース:
InstanceDescriptor.cs
ソース:
InstanceDescriptor.cs
ソース:
InstanceDescriptor.cs
ソース:
InstanceDescriptor.cs

指定したメンバー情報、引数、および指定した情報がインスタンスを完全に記述するかどうかを示す値を使用して、 InstanceDescriptor クラスの新しいインスタンスを初期化します。

public:
 InstanceDescriptor(System::Reflection::MemberInfo ^ member, System::Collections::ICollection ^ arguments, bool isComplete);
public InstanceDescriptor(System.Reflection.MemberInfo? member, System.Collections.ICollection? arguments, bool isComplete);
public InstanceDescriptor(System.Reflection.MemberInfo member, System.Collections.ICollection arguments, bool isComplete);
new System.ComponentModel.Design.Serialization.InstanceDescriptor : System.Reflection.MemberInfo * System.Collections.ICollection * bool -> System.ComponentModel.Design.Serialization.InstanceDescriptor
Public Sub New (member As MemberInfo, arguments As ICollection, isComplete As Boolean)

パラメーター

member
MemberInfo

記述子のメンバー情報。 これには、 MethodInfoConstructorInfoFieldInfo、または PropertyInfoを指定できます。 これが MethodInfoFieldInfo、または PropertyInfoである場合は、 static メンバーを表す必要があります。

arguments
ICollection

メンバーに渡す引数のコレクション。 引数がない場合は、このパラメーターを null または空のコレクションにすることができます。 コレクションは、 InstanceDescriptorの他のインスタンスで構成することもできます。

isComplete
Boolean

true 指定された情報がインスタンスを完全に記述する場合。それ以外の場合は false

例外

memberMethodInfo型、 FieldInfo型、または PropertyInfo型であり、 static メンバーを表していません

memberPropertyInfo 型であり、読み取り可能ではありません。

memberMethodInfo 型または ConstructorInfo 型であり、 arguments の引数の数が memberのシグネチャと一致しません。

memberConstructorInfo 型であり、 static メンバーを表します

memberFieldInfo型で、 arguments の引数の数は 0 ではありません。

適用対象