SerializationInfo
A wrapper for the (de)serialization data.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public class SerializationInfo
Inheritance: objectSerializationInfo
Constructors
Initializes a new instance of the SerializationInfo class.
Initializes a new instance of the SerializationInfo class.
Initializes a new instance of the SerializationInfo class.
Properties
Gets or sets the name of the node.
protected string NodeName { get; }
The name of the node.
Gets or sets the type of the owner.
public Type OwnerType { get; set; }
The type of the owner.
Methods
Creates the diagram info from the given string which supposedly contains a diagram serialization (XML) string.
public static SerializationInfo CreateDiagramInfo(string serializationString)
The serialization string.
Returns:Creates the items info.
public static SerializationInfo CreateItemsInfo(string serializationString)
The serialization string.
Returns:Creates the metadata info.
public static SerializationInfo CreateMetadataInfo(string serializationString)
The serialization string.
Returns:Gets the string.
GetXml()
XElement
Returns the XML of this serialization information.
public XElement GetXml()
XElement
Gets the stream.
Merges the current SerializationInfo with the specified instance.
public void Merge(SerializationInfo serializationInfo)