AxHost.ICustomTypeDescriptor.GetEvents Метод

Определение

Возвращает события для текущего объекта.

Перегрузки

ICustomTypeDescriptor.GetEvents()

Возвращает события для текущего объекта.

ICustomTypeDescriptor.GetEvents(Attribute[])

Возвращает события для текущего объекта, используя заданный массив атрибутов в качестве фильтра.

ICustomTypeDescriptor.GetEvents()

Возвращает события для текущего объекта.

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents() = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Function GetEvents () As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

Возвращаемое значение

EventDescriptorCollection

Объект EventDescriptorCollection, который представляет события для текущего объекта.

Реализации

Комментарии

Этот член представляет собой явную реализацию члена интерфейса. Он может использоваться, только если экземпляр AxHost приведен к типу интерфейса ICustomTypeDescriptor.

Применяется к

ICustomTypeDescriptor.GetEvents(Attribute[])

Возвращает события для текущего объекта, используя заданный массив атрибутов в качестве фильтра.

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes);
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Function GetEvents (attributes As Attribute()) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

Параметры

attributes
Attribute[]

Массив типа Attribute, используемый в качестве фильтра.

Возвращаемое значение

EventDescriptorCollection

Объект EventDescriptorCollection, который представляет события для AxHost, соответствующие заданному набору атрибутов.

Реализации

Применяется к