New to Telerik UI for WinFormsStart a free 30-day trial

A wrapper for the (de)serialization data.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class SerializationInfo

Inheritance: objectSerializationInfo

Constructors

Initializes a new instance of the SerializationInfo class.

C#
public SerializationInfo(string nodeName, Type ownerType)
Parameters:nodeNamestring

Name of the node.

ownerTypeType

Type of the owner.

Initializes a new instance of the SerializationInfo class.

C#
public SerializationInfo(string nodeName)
Parameters:nodeNamestring

Label of the node.

Initializes a new instance of the SerializationInfo class.

C#
public SerializationInfo(Type ownerType)
Parameters:ownerTypeType

Type of the owner.

Properties

Gets the node namespace.

C#
protected string FullName { get; }

Gets or sets the name of the node.

C#
protected string NodeName { get; }
Property Value:

The name of the node.

Gets or sets the type of the owner.

C#
public Type OwnerType { get; set; }
Property Value:

The type of the owner.

Gets or sets the object with the specified property name.

C#
public object this[string propertyName] { get; set; }
Parameters:propertyNamestring

Methods

Creates the diagram info from the given string which supposedly contains a diagram serialization (XML) string.

C#
public static SerializationInfo CreateDiagramInfo(string serializationString)
Parameters:serializationStringstring

The serialization string.

Returns:

SerializationInfo

Creates the items info.

C#
public static SerializationInfo CreateItemsInfo(string serializationString)
Parameters:serializationStringstring

The serialization string.

Returns:

SerializationInfo

Creates the metadata info.

C#
public static SerializationInfo CreateMetadataInfo(string serializationString)
Parameters:serializationStringstring

The serialization string.

Returns:

SerializationInfo

Gets the string.

C#
public string GetString()
Returns:

string

Returns the XML of this serialization information.

C#
public XElement GetXml()
Returns:

XElement

Gets the stream.

C#
public Stream GetXmlStream()
Returns:

Stream

Merges the current SerializationInfo with the specified instance.

C#
public void Merge(SerializationInfo serializationInfo)
Parameters:serializationInfoSerializationInfo

Returns a string that represents this instance.

C#
public override string ToString()
Returns:

string

A string that represents this instance.

Overrides: object.ToString()