CustomTypeDescriptor.GetComponentName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳由此類型描述符所代表的類別名稱。
public:
virtual System::String ^ GetComponentName();
public virtual string GetComponentName();
abstract member GetComponentName : unit -> string
override this.GetComponentName : unit -> string
Public Overridable Function GetComponentName () As String
傳回
包含此類型描述符所描述的元件實例名稱的 A String 。 預設值為 null。
實作
備註
如果一個父自訂型別描述符傳給 CustomTypeDescriptor 建構子, GetComponentName 該方法會呼叫父程式對應的方法。