Was this page helpful?

Elem Method

    Elem(string tag)

    public XDoc Elem(string tag);
    Adds a complete child element.

    Parameters

    Name Type Description
    tag string Element name

    Returns

    Type: XDoc
    Current XDoc instance

    Elem(string tag, string value)

    public XDoc Elem(string tag, string value);
    Adds a complete child element.

    Parameters

    Name Type Description
    tag string Element name
    value string Value to add

    Returns

    Type: XDoc
    Current XDoc instance

    Elem(string tag, DateTime value)

    public XDoc Elem(string tag, DateTime value);
    Adds a complete child element.

    Parameters

    Name Type Description
    tag string Element name
    value DateTime Value to add

    Returns

    Type: XDoc
    Current XDoc instance

    Elem(string tag, Byte[] value)

    public XDoc Elem(string tag, Byte[] value);
    Adds a complete child element.

    Parameters

    Name Type Description
    tag string Element name
    value Byte[] Value to add

    Returns

    Type: XDoc
    Current XDoc instance

    Elem(string tag, XUri value)

    public XDoc Elem(string tag, XUri value);
    Adds a complete child element.

    Parameters

    Name Type Description
    tag string Element name
    value XUri Value to add

    Returns

    Type: XDoc
    Current XDoc instance

    Elem(string tag, object value)

    public XDoc Elem(string tag, object value);
    Adds a complete child.

    Parameters

    Name Type Description
    tag string Element name
    value object Value to add

    Returns

    Type: XDoc
    Current XDoc instance
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by