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

適用於

另請參閱