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)
net5.0
namespace System.Xml.Linq
{
[TypeDescriptionProvider("MS.Internal.Xml.Linq.ComponentModel.XTypeDescriptionProvider`1[[System.Xml.Linq.XElement, System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]],System.ComponentModel.TypeConverter")]
[XmlSchemaProvider(null, IsAny = true)]
public class XElement : XContainer, IXmlSerializable
{
[CLSCompliant(false)]
public static explicit operator int(XElement! element);
}
}
.NET | 5.06.07.08.09.010.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 net5.0 | |
Assembly | System.Xml.XDocument , Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API