DbConnectionStringBuilder::ICustomTypeDescriptor::GetDefaultEvent Method ()


Returns the default event for this instance of a component.

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

virtual EventDescriptor^ GetDefaultEvent() sealed = ICustomTypeDescriptor::GetDefaultEvent

Return Value

Type: System.ComponentModel::EventDescriptor^

An EventDescriptor that represents the default event for this object, or null if this object does not have events.

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

For a description of this member, see GetDefaultEvent.

.NET Framework
Available since 2.0
Return to top