Search Results for

    Show / Hide Table of Contents

    Class XmlHelper

    Inheritance
    System.Object
    XmlHelper
    Inherited Members
    System.Object.ToString()
    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: Simplic.Framework.Foundation.XML
    Assembly: Simplic.Framework.Foundation.dll
    Syntax
    public class XmlHelper

    Methods

    | Improve this Doc View Source

    FindChild(XmlNode, String)

    Declaration
    public static XmlNode FindChild(XmlNode ParentNode, string ChildName)
    Parameters
    Type Name Description
    System.Xml.XmlNode ParentNode
    System.String ChildName
    Returns
    Type Description
    System.Xml.XmlNode
    | Improve this Doc View Source

    GetAttributeValue<T>(XmlNode, String, T)

    Get the Value of an Attribute

    Declaration
    public static T GetAttributeValue<T>(XmlNode Node, string AttributeName, T DefaultValue = null)
    Parameters
    Type Name Description
    System.Xml.XmlNode Node
    System.String AttributeName
    T DefaultValue
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetCodeBlockContent(XmlNode)

    Get XML-Node-Inner-Text

    Declaration
    public static string GetCodeBlockContent(XmlNode Node)
    Parameters
    Type Name Description
    System.Xml.XmlNode Node
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetCodeBlockContentAsBinary(XmlNode)

    Declaration
    public static byte[] GetCodeBlockContentAsBinary(XmlNode Node)
    Parameters
    Type Name Description
    System.Xml.XmlNode Node
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    GetXmlCodeBlock(String, Byte[], Object[])

    Declaration
    public static string GetXmlCodeBlock(string TagName, byte[] Content, params object[] AttributeAndValue)
    Parameters
    Type Name Description
    System.String TagName
    System.Byte[] Content
    System.Object[] AttributeAndValue
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetXmlCodeBlock(String, String, Object[])

    Declaration
    public static string GetXmlCodeBlock(string TagName, string Content, params object[] AttributeAndValue)
    Parameters
    Type Name Description
    System.String TagName
    System.String Content
    System.Object[] AttributeAndValue
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetXmlTag(String, Boolean, Object[])

    Build Simple XML-Tag

    Declaration
    public static string GetXmlTag(string TagName, bool CloseTag, params object[] AttributeAndValue)
    Parameters
    Type Name Description
    System.String TagName
    System.Boolean CloseTag
    System.Object[] AttributeAndValue
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx