Share via


RegistrationAttribute.TypeId 屬性

定義

覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別使用 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性必須覆寫此屬性,只有在實例上需要更好的控件,才能套用至類別。

public:
 virtual property System::Object ^ TypeId { System::Object ^ get(); };
public:
 virtual property Platform::Object ^ TypeId { Platform::Object ^ get(); };
public override object TypeId { get; }
member this.TypeId : obj
Public Overrides ReadOnly Property TypeId As Object

屬性值

這個屬性的目前實例。

備註

覆寫這個屬性,以允許 RegistrationAttribute衍生類別在需要更妥善地控制可套用至類別的實例時使用 GetAttributes

適用於