語言

WebPartMenuStyle.ICustomTypeDescriptor.GetComponentName 方法

定義

傳回元件之這個實例的名稱。 這個方法實現了該 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 物件沒有名稱時。

實作

備註

此成員為明確介面成員實作。 它只能在實 WebPartMenuStyle 例投射到 ICustomTypeDescriptor 介面時使用。

適用於

另請參閱