Gets or sets the type of chart content to be serialized.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Property ValueType: System.Web.UI.DataVisualization.Charting.SerializationContents
A SerializationContents enumeration value that represents the chart content that will be serialized during a load, save or reset operation. By default, all non-default chart properties, including data, are persisted.
By default, all chart properties will be serialized when any of the Save and Load methods are called. To provide more control over what is serialized, use the property. Note that the SerializableContent and NonSerializableContent properties can also be used along with the property.
Important The property determines types of chart characteristics, such as "appearance", to be serialized, and is actually implemented internally as the SerializableContent property. This means that setting the property and then setting the SerializableContent property will result in the property value being overridden, unless SerializableContent is concatenated. See the sample code below for an example of this procedure.
If you set the property, all ChartArea and Series objects names will automatically be serialized; this means that serialized data that pertains to chart areas and series will be applied to existing objects when loaded.
Setting this property affects all load, save and reset operations.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.