DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultProperty 方法

定義

傳回這個元件執行個體的屬性。

 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;如果這個物件沒有屬性,則為 null

實作

備註

這個成員是明確介面成員實作, 只有在 DbConnectionStringBuilder 執行個體轉換成 ICustomTypeDescriptor 介面時,才能使用這個成員。

如需這個成員的說明,請參閱 GetDefaultProperty

適用於

另請參閱