System.Xml.Linq.XElement
namespace System.Xml.Linq
{
public class XElement : XContainer, IXmlSerializable
{
public static IEnumerable<XElement> EmptySequence { get; }
public XAttribute FirstAttribute { get; }
public bool HasAttributes { get; }
public bool HasElements { get; }
public bool IsEmpty { get; }
public XAttribute LastAttribute { get; }
public XName Name { get; set; }
public string Value { get; set; }
public XElement(XElement other);
public XElement(XName name);
public XElement(XName name, object content);
public XElement(XName name, params object[] content);
public XElement(XStreamingElement other);
public IEnumerable<XElement> AncestorsAndSelf();
public IEnumerable<XElement> AncestorsAndSelf(XName name);
public XAttribute Attribute(XName name);
public IEnumerable<XAttribute> Attributes();
public IEnumerable<XAttribute> Attributes(XName name);
public IEnumerable<XNode> DescendantNodesAndSelf();
public IEnumerable<XElement> DescendantsAndSelf();
public IEnumerable<XElement> DescendantsAndSelf(XName name);
public XNamespace GetDefaultNamespace();
public XNamespace GetNamespaceOfPrefix(string prefix);
public string GetPrefixOfNamespace(XNamespace ns);
public static XElement Load(Stream stream);
public static XElement Load(Stream stream, LoadOptions options);
public static XElement Load(TextReader textReader);
public static XElement Load(TextReader textReader, LoadOptions options);
public static XElement Load(string uri);
public static XElement Load(string uri, LoadOptions options);
public static XElement Load(XmlReader reader);
public static XElement Load(XmlReader reader, LoadOptions options);
public static explicit operator bool(XElement element);
public static explicit operator DateTime(XElement element);
public static explicit operator DateTimeOffset(XElement element);
public static explicit operator decimal(XElement element);
public static explicit operator double(XElement element);
public static explicit operator Guid(XElement element);
public static explicit operator int(XElement element);
public static explicit operator long(XElement element);
public static explicit operator bool?(XElement element);
public static explicit operator DateTime?(XElement element);
public static explicit operator DateTimeOffset?(XElement element);
public static explicit operator decimal?(XElement element);
public static explicit operator double?(XElement element);
public static explicit operator Guid?(XElement element);
public static explicit operator int?(XElement element);
public static explicit operator long?(XElement element);
public static explicit operator float?(XElement element);
public static explicit operator TimeSpan?(XElement element);
public static explicit operator uint?(XElement element);
public static explicit operator ulong?(XElement element);
public static explicit operator float(XElement element);
public static explicit operator string(XElement element);
public static explicit operator TimeSpan(XElement element);
public static explicit operator uint(XElement element);
public static explicit operator ulong(XElement element);
public static XElement Parse(string text);
public static XElement Parse(string text, LoadOptions options);
public void RemoveAll();
public void RemoveAttributes();
public void ReplaceAll(object content);
public void ReplaceAll(params object[] content);
public void ReplaceAttributes(object content);
public void ReplaceAttributes(params object[] content);
public void Save(Stream stream);
public void Save(Stream stream, SaveOptions options);
public void Save(TextWriter textWriter);
public void Save(TextWriter textWriter, SaveOptions options);
public void Save(string fileName);
public void Save(string fileName, SaveOptions options);
public void Save(XmlWriter writer);
public void SetAttributeValue(XName name, object value);
public void SetElementValue(XName name, object value);
public void SetValue(object value);
}
}