XElement
XElement(XElement)
XElement(XName)
XElement(XStreamingElement)
XElement(XName, Object)
XElement(XName, Object[])
EmptySequence
FirstAttribute
HasAttributes
HasElements
IsEmpty
LastAttribute
Name
NodeType
Value
AncestorsAndSelf()
AncestorsAndSelf(XName)
Attribute(XName)
Attributes()
Attributes(XName)
DescendantNodesAndSelf()
DescendantsAndSelf()
DescendantsAndSelf(XName)
GetDefaultNamespace()
GetNamespaceOfPrefix(String)
GetPrefixOfNamespace(XNamespace)
Load(Stream)
Load(String)
Load(TextReader)
Load(XmlReader)
Load(Stream, LoadOptions)
Load(String, LoadOptions)
Load(TextReader, LoadOptions)
Load(XmlReader, LoadOptions)
LoadAsync(Stream, LoadOptions, CancellationToken)
LoadAsync(TextReader, LoadOptions, CancellationToken)
LoadAsync(XmlReader, LoadOptions, CancellationToken)
Parse(String)
Parse(String, LoadOptions)
RemoveAll()
RemoveAttributes()
ReplaceAll(Object)
ReplaceAll(Object[])
ReplaceAttributes(Object)
ReplaceAttributes(Object[])
Save(Stream)
Save(String)
Save(TextWriter)
Save(XmlWriter)
Save(Stream, SaveOptions)
Save(String, SaveOptions)
Save(TextWriter, SaveOptions)
SaveAsync(XmlWriter, CancellationToken)
SaveAsync(Stream, SaveOptions, CancellationToken)
SaveAsync(TextWriter, SaveOptions, CancellationToken)
SetAttributeValue(XName, Object)
SetElementValue(XName, Object)
SetValue(Object)
WriteTo(XmlWriter)
WriteToAsync(XmlWriter, CancellationToken)
explicit operator Boolean?(XElement)
explicit operator Boolean(XElement)
explicit operator DateTime?(XElement)
explicit operator DateTime(XElement)
explicit operator DateTimeOffset?(XElement)
explicit operator DateTimeOffset(XElement)
explicit operator Decimal?(XElement)
explicit operator Decimal(XElement)
explicit operator Double?(XElement)
explicit operator Double(XElement)
explicit operator Guid?(XElement)
explicit operator Guid(XElement)
explicit operator Int32?(XElement)
explicit operator Int32(XElement)
explicit operator Int64?(XElement)
explicit operator Int64(XElement)
explicit operator Single?(XElement)
explicit operator Single(XElement)
explicit operator String(XElement)
explicit operator TimeSpan?(XElement)
explicit operator TimeSpan(XElement)
explicit operator UInt32?(XElement)
explicit operator UInt32(XElement)
explicit operator UInt64?(XElement)
explicit operator UInt64(XElement)
GetSchemaInfo(XElement)
MarkAsRequiresEncryption(XElement)
MarkAsRequiresEncryption(XElement)
Validate(XElement, XmlSchemaObject, XmlSchemaSet, ValidationEventHandler)
Validate(XElement, XmlSchemaObject, XmlSchemaSet, ValidationEventHandler, Boolean)
net11.0-windows7.0
namespace System.Xml.Linq
{
[XmlSchemaProvider(null, IsAny = true)]
public class XElement : XContainer, IXmlSerializable
{
public string Value { get; set; }
}
}
| NetFx Compat Lab | 43.9 % Reference this API 43.4 % Get property 26.3 % Set property |
|---|---|
| nuget.org | 7.1 % Reference this API 7.1 % Get property 1.3 % Set property |
| Upgrade Planner | 3.2 % Reference this API 3.1 % Get property 0.9 % Set property |
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 1.01.12.02.12.23.03.1 |
| .NET Framework | 3.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 1.01.11.21.31.41.51.62.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assemblies | System.Xml.XDocument , Version=4.1.1.0, PublicKeyToken=b03f5f7f11d50a3a System.Xml.XDocument , Version=4.0.10.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | Requires any:
|
| Package | Microsoft.AspNetCore.App (3.0.0-preview3-19153-02) netcoreapp3.0 |
| Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API