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 Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • 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
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll

Syntax

public class SerializationInfo : Object

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

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.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML 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.