menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IXDLSAttributeReader - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IXDLSAttributeReader

    Summary description for IXDLSAttributeReader.

    Namespace: Syncfusion.DocIO.DLS.XML
    Assembly: Syncfusion.DocIO.UWP.dll
    Syntax
    public interface IXDLSAttributeReader

    Methods

    HasAttribute(String)

    Determines whether the current node has attribute with specified name.

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

    The name.

    Returns
    Type Description
    System.Boolean

    if has attribute with specified name, set to true.

    ReadBoolean(String)

    Reads the boolean.

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

    The name.

    Returns
    Type
    System.Boolean

    ReadByte(String)

    Reads the byte.

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

    The name.

    Returns
    Type
    System.Byte

    ReadColor(String)

    Reads color from XML.

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

    Name of attribute.

    Returns
    Type
    Color

    ReadEnum(String, Type)

    Reads the enum.

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

    The name.

    System.Type enumType

    Type of the enum.

    Returns
    Type
    System.Enum

    ReadFloat(String)

    Reads the float.

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

    The name.

    Returns
    Type
    System.Single

    ReadInt(String)

    Reads the int.

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

    The name.

    Returns
    Type
    System.Int32

    ReadShort(String)

    Reads the short.

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

    The name.

    Returns
    Type
    System.Int16

    ReadString(String)

    Reads the string.

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

    The name.

    Returns
    Type
    System.String

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved