ICustomTypeDescriptor.GetComponentName 方法

定義

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

public:
 System::String ^ GetComponentName();
public string GetComponentName ();
public string? GetComponentName ();
abstract member GetComponentName : unit -> string
Public Function GetComponentName () As String

傳回

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

備註

如果 null 傳回 ,請使用預設名稱。

適用於

另請參閱