Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ICustomTypeDescriptor.GetDefaultEvent Method

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 nullptr 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft