DbConnectionStringBuilder.ICustomTypeDescriptor.GetEvents Method (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 Function GetEvents (
	attributes As Attribute()
) As EventDescriptorCollection
	Implements ICustomTypeDescriptor.GetEvents


Type: 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.

This member is an explicit interface member implementation. It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

For more information, see GetEvents.

.NET Framework
Available since 2.0
Return to top