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

傳回

String

包含物件名稱的字串,如果物件沒有名稱,則為 null

實作

備註

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

適用於

另請參閱