ChartWebPart.GetObjectData Method
Serializes the Chart Web Part.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)
Syntax
'Declaration
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim instance As ChartWebPart
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo object where the Chart Web Part is serialized.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext object that describes the source and destination of a given serialized stream and provides an additional caller-defined context.
Remarks
This override serializes the designer template ID, designer chart theme and the ChartXml of the Chart Web Part into a SerializationInfo object.