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,含有要被序列化的屬性。

備註

這個屬性可以包含空的集合。 串行化程序不應該假設這類屬性存在。 的衍生類別或實作 IDesignerSerializationManager 會定義此處公開的屬性集。

給實施者的注意事項

這個屬性可由使用者程式代碼填入。 呼叫 可能就足以GetProperties(Type)TypeDescriptor填入此集合。 如果沒有任何自定義屬性存在,串行化管理員必須傳回空集合。

適用於