EventDescriptor Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy EventDescriptor.

Przeciążenia

EventDescriptor(MemberDescriptor)

Inicjuje EventDescriptor nowe wystąpienie klasy o nazwie i atrybutach w określonym obiekcie MemberDescriptor.

EventDescriptor(MemberDescriptor, Attribute[])

Inicjuje nowe wystąpienie EventDescriptor klasy o nazwie określonej MemberDescriptor i atrybutach zarówno w tablicy, jak MemberDescriptor i .Attribute

EventDescriptor(String, Attribute[])

Inicjuje EventDescriptor nowe wystąpienie klasy o określonej nazwie i tablicy atrybutów.

EventDescriptor(MemberDescriptor)

Źródło:
EventDescriptor.cs
Źródło:
EventDescriptor.cs
Źródło:
EventDescriptor.cs

Inicjuje EventDescriptor nowe wystąpienie klasy o nazwie i atrybutach w określonym obiekcie MemberDescriptor.

protected:
 EventDescriptor(System::ComponentModel::MemberDescriptor ^ descr);
protected EventDescriptor (System.ComponentModel.MemberDescriptor descr);
new System.ComponentModel.EventDescriptor : System.ComponentModel.MemberDescriptor -> System.ComponentModel.EventDescriptor
Protected Sub New (descr As MemberDescriptor)

Parametry

descr
MemberDescriptor

Element MemberDescriptor zawierający nazwę zdarzenia i jego atrybuty.

Dotyczy

EventDescriptor(MemberDescriptor, Attribute[])

Źródło:
EventDescriptor.cs
Źródło:
EventDescriptor.cs
Źródło:
EventDescriptor.cs

Inicjuje nowe wystąpienie EventDescriptor klasy o nazwie określonej MemberDescriptor i atrybutach zarówno w tablicy, jak MemberDescriptor i .Attribute

protected:
 EventDescriptor(System::ComponentModel::MemberDescriptor ^ descr, cli::array <Attribute ^> ^ attrs);
protected EventDescriptor (System.ComponentModel.MemberDescriptor descr, Attribute[] attrs);
protected EventDescriptor (System.ComponentModel.MemberDescriptor descr, Attribute[]? attrs);
new System.ComponentModel.EventDescriptor : System.ComponentModel.MemberDescriptor * Attribute[] -> System.ComponentModel.EventDescriptor
Protected Sub New (descr As MemberDescriptor, attrs As Attribute())

Parametry

descr
MemberDescriptor

Element MemberDescriptor , który ma nazwę elementu członkowskiego i jego atrybuty.

attrs
Attribute[]

Tablica Attribute z atrybutami, które chcesz dodać do tego opisu zdarzenia.

Uwagi

Ten konstruktor dołącza atrybuty w Attribute tablicy do atrybutów w obiekcie MemberDescriptor.

Dotyczy

EventDescriptor(String, Attribute[])

Źródło:
EventDescriptor.cs
Źródło:
EventDescriptor.cs
Źródło:
EventDescriptor.cs

Inicjuje EventDescriptor nowe wystąpienie klasy o określonej nazwie i tablicy atrybutów.

protected:
 EventDescriptor(System::String ^ name, cli::array <Attribute ^> ^ attrs);
protected EventDescriptor (string name, Attribute[] attrs);
protected EventDescriptor (string name, Attribute[]? attrs);
new System.ComponentModel.EventDescriptor : string * Attribute[] -> System.ComponentModel.EventDescriptor
Protected Sub New (name As String, attrs As Attribute())

Parametry

name
String

Nazwa zdarzenia.

attrs
Attribute[]

Tablica typu Attribute , która zawiera atrybuty zdarzenia.

Dotyczy