ClassSerializationInfo
A wrapper for the (de)serialization data.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class SerializationInfo
Inheritance: objectSerializationInfo
Constructors
SerializationInfo(Type)
Initializes a new instance of the SerializationInfo class.
Declaration
public SerializationInfo(Type ownerType)
Parameters
ownerType
Type of the owner.
SerializationInfo(string)
Initializes a new instance of the SerializationInfo class.
Declaration
public SerializationInfo(string nodeName)
Parameters
nodeName
Label of the node.
SerializationInfo(string, Type)
Initializes a new instance of the SerializationInfo class.
Properties
FullName
Gets the node namespace.
NodeName
Gets or sets the name of the node.
Declaration
protected string NodeName { get; }
Property Value
The name of the node.
OwnerType
Gets or sets the type of the owner.
Declaration
public Type OwnerType { get; set; }
Property Value
The type of the owner.
this[string]
Gets or sets the object with the specified property name.
Methods
CreateDiagramInfo(string)
Creates the diagram info from the given string which supposedly contains a diagram serialization (XML) string.
Declaration
public static SerializationInfo CreateDiagramInfo(string serializationString)
Parameters
serializationString
The serialization string.
Returns
CreateItemsInfo(string)
Creates the items info.
Declaration
public static SerializationInfo CreateItemsInfo(string serializationString)
Parameters
serializationString
The serialization string.
Returns
CreateMetadataInfo(string)
Creates the metadata info.
Declaration
public static SerializationInfo CreateMetadataInfo(string serializationString)
Parameters
serializationString
The serialization string.
Returns
GetXml()
Returns the XML of this serialization information.
GetXmlStream()
Gets the stream.
Merge(SerializationInfo)
Merges the current SerializationInfo with the specified instance.
Declaration
public void Merge(SerializationInfo serializationInfo)
Parameters
serializationInfo
ToString()
Returns a string that represents this instance.