InstanceDescriptor Konstruktory

Definice

Inicializuje novou instanci InstanceDescriptor třídy.

Přetížení

Name Description
InstanceDescriptor(MemberInfo, ICollection)

Inicializuje novou instanci InstanceDescriptor třídy pomocí zadaných informací o členu a argumentů.

InstanceDescriptor(MemberInfo, ICollection, Boolean)

Inicializuje novou instanci InstanceDescriptor třídy pomocí zadaných informací o členu, argumenty a hodnota určující, zda zadané informace zcela popisují instanci.

InstanceDescriptor(MemberInfo, ICollection)

Zdroj:
InstanceDescriptor.cs
Zdroj:
InstanceDescriptor.cs
Zdroj:
InstanceDescriptor.cs
Zdroj:
InstanceDescriptor.cs
Zdroj:
InstanceDescriptor.cs

Inicializuje novou instanci InstanceDescriptor třídy pomocí zadaných informací o členu a argumentů.

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)

Parametry

member
MemberInfo

Informace o členech popisovače. To může být MethodInfo, ConstructorInfo, FieldInfonebo PropertyInfo. Pokud se jedná o MethodInfoobjekt , FieldInfonebo PropertyInfo, musí představovat člena static .

arguments
ICollection

Kolekce argumentů, které se mají předat členu. Tento parametr může být null nebo prázdná kolekce, pokud neexistují žádné argumenty. Kolekce se také může skládat z jiných instancí InstanceDescriptor.

Výjimky

member je typu MethodInfo, FieldInfonebo PropertyInfoa nepředstavuje člena static .

nebo

member je typu PropertyInfo a není čitelný.

nebo

member je typu MethodInfo nebo ConstructorInfoa počet argumentů neodpovídá arguments podpisu znaku member.

nebo

member je typu ConstructorInfo a představuje člena static .

nebo

member je typu FieldInfoa počet argumentů arguments není nula.

Platí pro

InstanceDescriptor(MemberInfo, ICollection, Boolean)

Zdroj:
InstanceDescriptor.cs
Zdroj:
InstanceDescriptor.cs
Zdroj:
InstanceDescriptor.cs
Zdroj:
InstanceDescriptor.cs
Zdroj:
InstanceDescriptor.cs

Inicializuje novou instanci InstanceDescriptor třídy pomocí zadaných informací o členu, argumenty a hodnota určující, zda zadané informace zcela popisují instanci.

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)

Parametry

member
MemberInfo

Informace o členech popisovače. To může být MethodInfo, ConstructorInfo, FieldInfonebo PropertyInfo. Pokud se jedná o MethodInfoobjekt , FieldInfonebo PropertyInfo, musí představovat člena static .

arguments
ICollection

Kolekce argumentů, které se mají předat členu. Tento parametr může být null nebo prázdná kolekce, pokud neexistují žádné argumenty. Kolekce se také může skládat z jiných instancí InstanceDescriptor.

isComplete
Boolean

truepokud zadané informace zcela popisují instanci; v opačném případě . false

Výjimky

member je typu MethodInfo, FieldInfonebo PropertyInfoa nepředstavuje člena static .

member je typu PropertyInfo a není čitelný.

member je typu MethodInfo nebo ConstructorInfo a počet argumentů arguments neodpovídá podpisu member.

member je typu ConstructorInfo a představuje člena static .

member je typu FieldInfoa počet argumentů arguments není nula.

Platí pro