skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SerializationInfo

A wrapper for the (de)serialization data.

Inheritance
System.Object
SerializationInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 true [is item].

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.

Overrides
System.Object.ToString()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.