Edytuj

Udostępnij za pośrednictwem


ChartSerializer.Format Property

Definition

Gets or sets the format used when the chart is serialized.

public:
 property System::Windows::Forms::DataVisualization::Charting::SerializationFormat Format { System::Windows::Forms::DataVisualization::Charting::SerializationFormat get(); void set(System::Windows::Forms::DataVisualization::Charting::SerializationFormat value); };
public System.Windows.Forms.DataVisualization.Charting.SerializationFormat Format { get; set; }
member this.Format : System.Windows.Forms.DataVisualization.Charting.SerializationFormat with get, set
Public Property Format As SerializationFormat

Property Value

A SerializationFormat enumeration value that represents the format of the serialized data. The default value is XML.

Remarks

Data can be serialized in either an XML or binary format. Binary format is compact, and takes less storage than XML. XML, however, is a text format that is human-readable.

When you save or load serialized data, the format must be XML.

Applies to