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


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

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


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.

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