IDesignerSerializationManager.Properties 屬性

定義

表示可利用現有序列化器序列化的自訂屬性。

public:
 property System::ComponentModel::PropertyDescriptorCollection ^ Properties { System::ComponentModel::PropertyDescriptorCollection ^ get(); };
public System.ComponentModel.PropertyDescriptorCollection Properties { get; }
member this.Properties : System.ComponentModel.PropertyDescriptorCollection
Public ReadOnly Property Properties As PropertyDescriptorCollection

屬性值

PropertyDescriptorCollection A 包含要序列化的屬性。

備註

此性質可包含空集合。 序列化器絕不應假設這些特性存在。 導出類別或實 IDesignerSerializationManager 作定義了此處暴露的屬性集合。

給實施者的注意事項

此屬性可由使用者程式碼填充。 或許只需召喚 GetProperties(Type) 即可 TypeDescriptor 填補此收藏。 如果沒有自訂屬性,序列化管理器必須回傳一個空集合。

適用於