ChartWebPart Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ChartWebPart class with the serialization parameters.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New ChartWebPart(info, context)
protected ChartWebPart(
SerializationInfo info,
StreamingContext context
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo object that stores all the essential data required to initialize the instance.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext object that defines the source and destination of a given serialized stream and provides an additional caller-defined context.
Remarks
This constructor initializes a new instance of the ChartWebPart class based on the specified serialization information. The context parameter is not used in this method.