DbDataRecord::ICustomTypeDescriptor::GetEvents Method (array<Attribute^>^)

 

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

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

private:
virtual EventDescriptorCollection^ GetEvents(
	array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetEvents

Parameters

attributes
Type: array<System::Attribute^>^

An array of type Attribute that is used as a filter.

Return Value

Type: System.ComponentModel::EventDescriptorCollection^

An EventDescriptorCollection that represents the filtered events for this component instance.

For more information, see M:System.ComponentModel.ICustomTypeDescriptor.GetEvents.(System.Attribute[]).

.NET Framework
Available since 1.1
Return to top
Show: