次の方法で共有


DataConnectionProperties.ICustomTypeDescriptor.GetEvents Method

Definition

Overloads

ICustomTypeDescriptor.GetEvents(Attribute[])

Retrieves the events for this instance of a component, using the specified attribute array as a filter.

ICustomTypeDescriptor.GetEvents()

Retrieves the events for the specified instance of a component.

ICustomTypeDescriptor.GetEvents(Attribute[])

Retrieves the events for this instance of a component, using the specified attribute array as a filter.

 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

Parameters

attributes
Attribute[]

An array of type Attribute that is used as a filter

Returns

An EventDescriptorCollection collection representing the filtered events for the specified component instance.

Implements

Applies to

ICustomTypeDescriptor.GetEvents()

Retrieves the events for the specified instance of a component.

 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

Returns

An EventDescriptorCollection object representing the events for the specified component instance.

Implements

Applies to