Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SerializationContents Enumeration
Collapse the table of content
Expand the table of content

SerializationContents Enumeration

.NET Framework 4.6 and 4.5

Specifies the type of chart content to be serialized.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public enum SerializationContents

Member nameDescription
AllSerialize all chart information. This includes all appearance properties and data point values.
AppearanceSerialize all appearance properties, such as color or line style, if they have non-default values.
DataSerialize data values from all chart series. Does not include appearance properties.
DefaultSerialize all non-default chart content. This includes appearance properties, series and their data points, axis minimums/maximums, and so forth.

The SerializationContents enumeration represents the chart content type to be serialized. This enumeration is used with the Content property.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft