DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultProperty Method

Definition

返回此组件实例的默认属性。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

Returns

PropertyDescriptor

表示此对象的默认属性的 PropertyDescriptor;如果该对象没有属性,则为 nullA PropertyDescriptor that represents the default property for this object, or null if this object does not have properties.

Implements

Remarks

此成员是显式接口成员实现。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.

Applies to

See also