DbConnectionStringBuilder.ICustomTypeDescriptor.GetComponentName Method

Definition

返回某个组件的此实例的名称。Returns the name of this instance of a component.

 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

Returns

String

对象的名称,如果该对象不具有名称,则为 nullThe name of the object, or null if the object does not have a name.

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.

有关详细信息,请参阅 GetComponentNameFor more information, see GetComponentName.

Applies to

See also