menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class XDLSReader - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class XDLSReader

    Summary description for XDLSReader.

    Inheritance
    System.Object
    XDLSReader
    Implements
    IXDLSAttributeReader
    IXDLSContentReader
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.DLS.XML
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public class XDLSReader : IXDLSAttributeReader, IXDLSContentReader

    Constructors

    XDLSReader(XmlReader)

    Declaration
    public XDLSReader(XmlReader reader)
    Parameters
    Type Name Description
    System.Xml.XmlReader reader

    Properties

    InnerReader

    Declaration
    public XmlReader InnerReader { get; }
    Property Value
    Type
    System.Xml.XmlReader

    NodeType

    Declaration
    public XmlNodeType NodeType { get; }
    Property Value
    Type
    System.Xml.XmlNodeType

    TagName

    Declaration
    public string TagName { get; }
    Property Value
    Type
    System.String

    Methods

    Deserialize(IXDLSSerializable)

    Declaration
    public void Deserialize(IXDLSSerializable value)
    Parameters
    Type Name Description
    IXDLSSerializable value

    GetAttributeValue(String)

    Declaration
    public string GetAttributeValue(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    System.String

    HasAttribute(String)

    Declaration
    public bool HasAttribute(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    System.Boolean

    ReadBoolean(String)

    Declaration
    public bool ReadBoolean(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    System.Boolean

    ReadByte(String)

    Declaration
    public byte ReadByte(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    System.Byte

    ReadChildBinaryElement()

    Reads binary value.

    Declaration
    public byte[] ReadChildBinaryElement()
    Returns
    Type
    System.Byte[]

    ReadChildElement(Object)

    Declaration
    public bool ReadChildElement(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    System.Boolean

    ReadChildElement(Type)

    Declaration
    public object ReadChildElement(Type type)
    Parameters
    Type Name Description
    System.Type type
    Returns
    Type
    System.Object

    ReadChildStringContent()

    Declaration
    public string ReadChildStringContent()
    Returns
    Type
    System.String

    ReadColor(String)

    Reads color from XML.

    Declaration
    public Color ReadColor(string name)
    Parameters
    Type Name Description
    System.String name

    Name of attribute.

    Returns
    Type Description
    System.Drawing.Color

    Color structure.

    ReadDateTime(String)

    Reads color from XML.

    Declaration
    public DateTime ReadDateTime(string name)
    Parameters
    Type Name Description
    System.String name

    Name of attribute.

    Returns
    Type Description
    System.DateTime

    Color structure.

    ReadEnum(String, Type)

    Declaration
    public Enum ReadEnum(string name, Type enumType)
    Parameters
    Type Name Description
    System.String name
    System.Type enumType
    Returns
    Type
    System.Enum

    ReadFloat(String)

    Declaration
    public float ReadFloat(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    System.Single

    ReadImage()

    Declaration
    public Image ReadImage()
    Returns
    Type
    System.Drawing.Image

    ReadImage(Boolean)

    Declaration
    public Image ReadImage(bool isMetafile)
    Parameters
    Type Name Description
    System.Boolean isMetafile
    Returns
    Type
    System.Drawing.Image

    ReadInt(String)

    Declaration
    public int ReadInt(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    System.Int32

    ReadShort(String)

    Declaration
    public short ReadShort(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    System.Int16

    ReadString(String)

    Declaration
    public string ReadString(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    System.String

    Implements

    IXDLSAttributeReader
    IXDLSContentReader
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved