DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultProperty 方法

定义

返回此组件实例的默认属性。Returns the default property for this instance of a component.

 virtual System::ComponentModel::PropertyDescriptor ^ System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty() = System::ComponentModel::ICustomTypeDescriptor::GetDefaultProperty;
System.ComponentModel.PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
override this.System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
Function GetDefaultProperty () As PropertyDescriptor Implements ICustomTypeDescriptor.GetDefaultProperty

返回

PropertyDescriptor

表示此对象的默认属性的 PropertyDescriptor;如果该对象没有属性,则为 nullA 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. 它只能在 DbConnectionStringBuilder 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

有关此成员的说明,请参见 GetDefaultPropertyFor a description of this member, see GetDefaultProperty.

适用于

另请参阅