DbConnectionStringBuilder.ICustomTypeDescriptor.GetComponentName 方法

定義

傳回這個元件執行個體的名稱。

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

傳回

物件的名稱;如果物件沒有名稱,則為 null

實作

備註

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

如需詳細資訊,請參閱GetComponentName

適用於

另請參閱