DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultProperty Method ()


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 default property for this instance of a component.

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

private abstract GetDefaultProperty : unit -> PropertyDescriptor
private override GetDefaultProperty : unit -> PropertyDescriptor

Return Value

Type: System.ComponentModel.PropertyDescriptor

A PropertyDescriptor that represents the default property for this object, or null if this object does not have properties.

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 GetDefaultProperty.

.NET Framework
Available since 2.0
Return to top