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, который представляет события для текущего объекта.
Реализации
Комментарии
Этот член представляет собой явную реализацию члена интерфейса. Он может использоваться, только если экземпляр 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
Параметры
Возвращаемое значение
Объект EventDescriptorCollection, который представляет события для AxHost, соответствующие заданному набору атрибутов.