EventDescriptor Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy EventDescriptor.

Przeciążenia

Nazwa Opis
EventDescriptor(MemberDescriptor)

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

EventDescriptor(MemberDescriptor, Attribute[])

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

EventDescriptor(String, Attribute[])

Inicjuje nowe wystąpienie EventDescriptor 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
Źródło:
EventDescriptor.cs
Źródło:
EventDescriptor.cs

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

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
Źródło:
EventDescriptor.cs
Źródło:
EventDescriptor.cs

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

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 pliku MemberDescriptor.

Dotyczy

EventDescriptor(String, Attribute[])

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

Inicjuje nowe wystąpienie EventDescriptor 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