Class SerializationInfo
A wrapper for the (de)serialization data.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class SerializationInfo
Constructors
SerializationInfo(String)
Initializes a new instance of the SerializationInfo class.
Declaration
public SerializationInfo(string nodeName)
Parameters
System.String
nodeName
Label of the node. |
SerializationInfo(String, Type)
Initializes a new instance of the SerializationInfo class.
Declaration
public SerializationInfo(string nodeName, Type ownerType)
Parameters
System.String
nodeName
Name of the node. |
System.Type
ownerType
Type of the owner. |
SerializationInfo(Type)
Initializes a new instance of the SerializationInfo class.
Declaration
public SerializationInfo(Type ownerType)
Parameters
System.Type
ownerType
Type of the owner. |
Properties
FullName
Gets the node namespace.
Declaration
protected string FullName { get; }
Property Value
System.String
|
Item[String]
Gets or sets the System.Object with the specified property name.
Declaration
public object this[string propertyName] { get; set; }
Parameters
System.String
propertyName
|
Property Value
System.Object
|
NodeName
Gets or sets the name of the node.
Declaration
protected string NodeName { get; }
Property Value
System.String
The name of the node. |
OwnerType
Gets or sets the type of the owner.
Declaration
public Type OwnerType { get; set; }
Property Value
System.Type
The type of the owner. |
Methods
Create(String, Boolean)
Creates the specified serialization info string.
Declaration
[Obsolete("Use CreateitemsInfo, CreateDiagramInfo or CreateMetadataInfo methods.", false)]
public static SerializationInfo Create(string serializationInfoValue, bool isItemSerialization = false)
Parameters
System.String
serializationInfoValue
The serialization info string. |
System.Boolean
isItemSerialization
If set to |
Returns
SerializationInfo
|
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
System.String
serializationString
The serialization string. |
Returns
SerializationInfo
|
CreateItemsInfo(String)
Creates the items info.
Declaration
public static SerializationInfo CreateItemsInfo(string serializationString)
Parameters
System.String
serializationString
The serialization string. |
Returns
SerializationInfo
|
CreateMetadataInfo(String)
Creates the metadata info.
Declaration
public static SerializationInfo CreateMetadataInfo(string serializationString)
Parameters
System.String
serializationString
The serialization string. |
Returns
SerializationInfo
|
GetString()
Gets the string.
Declaration
public string GetString()
Returns
System.String
|
GetXml()
Returns the XML of this serialization information.
Declaration
public XElement GetXml()
Returns
System.Xml.Linq.XElement
|
GetXmlStream()
Gets the stream.
Declaration
public Stream GetXmlStream()
Returns
System.IO.Stream
|
Merge(SerializationInfo)
Merges the current SerializationInfo with the specified instance.
Declaration
public void Merge(SerializationInfo serializationInfo)
Parameters
SerializationInfo
serializationInfo
|
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents this instance. |