Редагувати

Поділитися через


IDesignerSerializationManager.Properties Property

Definition

Indicates custom properties that can be serializable with available serializers.

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

Property Value

A PropertyDescriptorCollection containing the properties to be serialized.

Remarks

This property can contain an empty collection. A serializer should never assume that such properties exist. A derived class or implementation of IDesignerSerializationManager defines the set of properties that are exposed here.

Notes to Implementers

This property can be populated by user code. It may be sufficient to call GetProperties(Type) of TypeDescriptor to populate this collection. The serialization manager must return an empty collection if no custom properties exist.

Applies to