System.Xml.Linq
19 wrapped types. Load them with using { "System.Xml.Linq" }. Click a class to open it.
LinqExtensions class static
System.Xml.Linq.Extensions · assembly System.Private.Xml.Linq
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Ancestors | Ancestors(value)Ancestors([ :source = … ])Ancestors([ :source = …, :name = … ]) | static IEnumerable<XElement> Ancestors<T>(IEnumerable<T> source)static IEnumerable<XElement> Ancestors<T>(IEnumerable<T> source, XName name) |
AncestorsAndSelf | AncestorsAndSelf(value)AncestorsAndSelf([ :source = … ])AncestorsAndSelf([ :source = …, :name = … ]) | static IEnumerable<XElement> AncestorsAndSelf(IEnumerable<XElement> source)static IEnumerable<XElement> AncestorsAndSelf(IEnumerable<XElement> source, XName name) |
Attributes | Attributes(value)Attributes([ :source = … ])Attributes([ :source = …, :name = … ]) | static IEnumerable<XAttribute> Attributes(IEnumerable<XElement> source)static IEnumerable<XAttribute> Attributes(IEnumerable<XElement> source, XName name) |
DescendantNodes | DescendantNodes(p1) | static IEnumerable<XNode> DescendantNodes<T>(IEnumerable<T> source) |
DescendantNodesAndSelf | DescendantNodesAndSelf(p1) | static IEnumerable<XNode> DescendantNodesAndSelf(IEnumerable<XElement> source) |
Descendants | Descendants(value)Descendants([ :source = … ])Descendants([ :source = …, :name = … ]) | static IEnumerable<XElement> Descendants<T>(IEnumerable<T> source)static IEnumerable<XElement> Descendants<T>(IEnumerable<T> source, XName name) |
DescendantsAndSelf | DescendantsAndSelf(value)DescendantsAndSelf([ :source = … ])DescendantsAndSelf([ :source = …, :name = … ]) | static IEnumerable<XElement> DescendantsAndSelf(IEnumerable<XElement> source)static IEnumerable<XElement> DescendantsAndSelf(IEnumerable<XElement> source, XName name) |
Elements | Elements(value)Elements([ :source = … ])Elements([ :source = …, :name = … ]) | static IEnumerable<XElement> Elements<T>(IEnumerable<T> source)static IEnumerable<XElement> Elements<T>(IEnumerable<T> source, XName name) |
InDocumentOrder | InDocumentOrder(p1) | static IEnumerable<T> InDocumentOrder<T>(IEnumerable<T> source) |
Nodes | Nodes(p1) | static IEnumerable<XNode> Nodes<T>(IEnumerable<T> source) |
Remove | Remove(p1) | static void Remove(IEnumerable<XAttribute> source)static void Remove<T>(IEnumerable<T> source) |
XAttribute class · extends XObject
System.Xml.Linq.XAttribute · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Constructors
new XAttribute(XName name, object value) |
new XAttribute(XAttribute other) |
Ring: new XAttribute(args) uses one constructor; the others are chosen by the parameter names: new XAttribute().@New([ :param = value ]) or dnNew("XAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsNamespaceDeclaration | bool | read | o.IsNamespaceDeclaration |
Name | XName | read | o.Name |
NextAttribute | XAttribute | read | o.NextAttribute |
NodeType | XmlNodeType | read | o.getNodeType() |
PreviousAttribute | XAttribute | read | o.PreviousAttribute |
Value | string | read, write | o.Value o.Value = v |
EmptySequence | IEnumerable<XAttribute> | read · static | o.EmptySequence |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Remove | callMethod("Remove",[]) | void Remove() |
SetValue | @SetValue(p1) | void SetValue(object value) |
ToString | callMethod("ToString",[]) | string ToString() |
Members of the base class are inherited.
XCData class · extends XText
System.Xml.Linq.XCData · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Constructors
new XCData(string value) |
new XCData(XCData other) |
Ring: new XCData(args) uses one constructor; the others are chosen by the parameter names: new XCData().@New([ :param = value ]) or dnNew("XCData",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NodeType | XmlNodeType | read | o.getNodeType() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
WriteToAsync | callMethod("WriteToAsync",[p1,p2]) | Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) |
Members of the base class are inherited.
XComment class · extends XNode
System.Xml.Linq.XComment · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Constructors
new XComment(string value) |
new XComment(XComment other) |
Ring: new XComment(args) uses one constructor; the others are chosen by the parameter names: new XComment().@New([ :param = value ]) or dnNew("XComment",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NodeType | XmlNodeType | read | o.getNodeType() |
Value | string | read, write | o.Value o.Value = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
WriteToAsync | callMethod("WriteToAsync",[p1,p2]) | Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) |
Members of the base class are inherited.
XContainer class abstract · extends XNode
System.Xml.Linq.XContainer · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FirstNode | XNode | read | o.FirstNode |
LastNode | XNode | read | o.LastNode |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(object content)void Add(object[] content) |
AddFirst | AddFirst(p1) | void AddFirst(object content)void AddFirst(object[] content) |
CreateWriter | callMethod("CreateWriter",[]) | XmlWriter CreateWriter() |
DescendantNodes | callMethod("DescendantNodes",[]) | IEnumerable<XNode> DescendantNodes() |
Descendants | Descendants(NULL)Descendants(value)Descendants([ :name = … ]) | IEnumerable<XElement> Descendants()IEnumerable<XElement> Descendants(XName name) |
Element | callMethod("Element",[p1]) | XElement Element(XName name) |
Elements | Elements(NULL)Elements(value)Elements([ :name = … ]) | IEnumerable<XElement> Elements()IEnumerable<XElement> Elements(XName name) |
Nodes | callMethod("Nodes",[]) | IEnumerable<XNode> Nodes() |
RemoveNodes | callMethod("RemoveNodes",[]) | void RemoveNodes() |
ReplaceNodes | ReplaceNodes(p1) | void ReplaceNodes(object content)void ReplaceNodes(object[] content) |
Members of the base class are inherited.
XDeclaration class
System.Xml.Linq.XDeclaration · assembly System.Private.Xml.Linq
Constructors
new XDeclaration(string version, string encoding, string standalone) |
new XDeclaration(XDeclaration other) |
Ring: new XDeclaration(args) uses one constructor; the others are chosen by the parameter names: new XDeclaration().@New([ :param = value ]) or dnNew("XDeclaration",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Encoding | string | read, write | o.Encoding o.Encoding = v |
Standalone | string | read, write | o.Standalone o.Standalone = v |
Version | string | read, write | o.Version o.Version = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
XDocument class · extends XContainer
System.Xml.Linq.XDocument · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Constructors
new XDocument() |
new XDocument(object[] content) |
new XDocument(XDeclaration declaration, object[] content) |
new XDocument(XDocument other) |
Ring: new XDocument(args) uses one constructor; the others are chosen by the parameter names: new XDocument().@New([ :param = value ]) or dnNew("XDocument",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Declaration | XDeclaration | read, write | o.Declaration o.Declaration = v |
DocumentType | XDocumentType | read | o.DocumentType |
NodeType | XmlNodeType | read | o.getNodeType() |
Root | XElement | read | o.Root |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Load | @Load(value)@Load([ :uri = … ])@Load([ :stream = … ])@Load([ :textReader = … ])@Load([ :reader = … ]) | static XDocument Load(string uri)static XDocument Load(string uri, LoadOptions options)static XDocument Load(Stream stream)static XDocument Load(Stream stream, LoadOptions options)static XDocument Load(TextReader textReader)static XDocument Load(TextReader textReader, LoadOptions options)static XDocument Load(XmlReader reader)static XDocument Load(XmlReader reader, LoadOptions options) |
LoadAsync | LoadAsync(p1,p2,p3) | static Task<XDocument> LoadAsync(Stream stream, LoadOptions options, CancellationToken cancellationToken)static Task<XDocument> LoadAsync(TextReader textReader, LoadOptions options, CancellationToken cancellationToken)static Task<XDocument> LoadAsync(XmlReader reader, LoadOptions options, CancellationToken cancellationToken) |
Parse | Parse(value)Parse([ :text = … ])Parse([ :text = …, :options = … ]) | static XDocument Parse(string text)static XDocument Parse(string text, LoadOptions options) |
Save | callMethod("Save",[p1])callMethod("Save",[p1,p2]) | void Save(Stream stream)void Save(Stream stream, SaveOptions options)void Save(TextWriter textWriter)void Save(TextWriter textWriter, SaveOptions options)void Save(XmlWriter writer)void Save(string fileName)void Save(string fileName, SaveOptions options) |
SaveAsync | SaveAsync([ :writer = …, :cancellationToken = … ])SaveAsync([ :stream = …, :options = …, :cancellationToken = … ])SaveAsync([ :textWriter = …, :options = …, :cancellationToken = … ]) | Task SaveAsync(Stream stream, SaveOptions options, CancellationToken cancellationToken)Task SaveAsync(TextWriter textWriter, SaveOptions options, CancellationToken cancellationToken)Task SaveAsync(XmlWriter writer, CancellationToken cancellationToken) |
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
WriteToAsync | callMethod("WriteToAsync",[p1,p2]) | Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) |
Members of the base class are inherited.
XDocumentType class · extends XNode
System.Xml.Linq.XDocumentType · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Constructors
new XDocumentType(string name, string publicId, string systemId, string internalSubset) |
new XDocumentType(XDocumentType other) |
Ring: new XDocumentType(args) uses one constructor; the others are chosen by the parameter names: new XDocumentType().@New([ :param = value ]) or dnNew("XDocumentType",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
InternalSubset | string | read, write | o.InternalSubset o.InternalSubset = v |
Name | string | read, write | o.Name o.Name = v |
NodeType | XmlNodeType | read | o.getNodeType() |
PublicId | string | read, write | o.PublicId o.PublicId = v |
SystemId | string | read, write | o.SystemId o.SystemId = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
WriteToAsync | callMethod("WriteToAsync",[p1,p2]) | Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) |
Members of the base class are inherited.
XElement class · extends XContainer
System.Xml.Linq.XElement · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo, IXmlSerializable
Constructors
new XElement(XName name) |
new XElement(XName name, object content) |
new XElement(XName name, object[] content) |
new XElement(XElement other) |
new XElement(XStreamingElement other) |
Ring: new XElement(args) uses one constructor; the others are chosen by the parameter names: new XElement().@New([ :param = value ]) or dnNew("XElement",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FirstAttribute | XAttribute | read | o.FirstAttribute |
HasAttributes | bool | read | o.HasAttributes |
HasElements | bool | read | o.HasElements |
IsEmpty | bool | read | o.IsEmpty |
LastAttribute | XAttribute | read | o.LastAttribute |
Name | XName | read, write | o.Name o.Name = v |
NodeType | XmlNodeType | read | o.getNodeType() |
Value | string | read, write | o.Value o.Value = v |
EmptySequence | IEnumerable<XElement> | read · static | o.EmptySequence |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AncestorsAndSelf | AncestorsAndSelf(NULL)AncestorsAndSelf(value)AncestorsAndSelf([ :name = … ]) | IEnumerable<XElement> AncestorsAndSelf()IEnumerable<XElement> AncestorsAndSelf(XName name) |
Attribute | callMethod("Attribute",[p1]) | XAttribute Attribute(XName name) |
Attributes | Attributes(NULL)Attributes(value)Attributes([ :name = … ]) | IEnumerable<XAttribute> Attributes()IEnumerable<XAttribute> Attributes(XName name) |
DescendantNodesAndSelf | callMethod("DescendantNodesAndSelf",[]) | IEnumerable<XNode> DescendantNodesAndSelf() |
DescendantsAndSelf | DescendantsAndSelf(NULL)DescendantsAndSelf(value)DescendantsAndSelf([ :name = … ]) | IEnumerable<XElement> DescendantsAndSelf()IEnumerable<XElement> DescendantsAndSelf(XName name) |
GetDefaultNamespace | callMethod("GetDefaultNamespace",[]) | XNamespace GetDefaultNamespace() |
GetNamespaceOfPrefix | callMethod("GetNamespaceOfPrefix",[p1]) | XNamespace GetNamespaceOfPrefix(string prefix) |
GetPrefixOfNamespace | GetPrefixOfNamespace(p1) | string GetPrefixOfNamespace(XNamespace ns) |
Load | @Load(value)@Load([ :uri = … ])@Load([ :stream = … ])@Load([ :textReader = … ])@Load([ :reader = … ]) | static XElement Load(string uri)static XElement Load(string uri, LoadOptions options)static XElement Load(Stream stream)static XElement Load(Stream stream, LoadOptions options)static XElement Load(TextReader textReader)static XElement Load(TextReader textReader, LoadOptions options)static XElement Load(XmlReader reader)static XElement Load(XmlReader reader, LoadOptions options) |
LoadAsync | LoadAsync(p1,p2,p3) | static Task<XElement> LoadAsync(Stream stream, LoadOptions options, CancellationToken cancellationToken)static Task<XElement> LoadAsync(TextReader textReader, LoadOptions options, CancellationToken cancellationToken)static Task<XElement> LoadAsync(XmlReader reader, LoadOptions options, CancellationToken cancellationToken) |
Parse | Parse(value)Parse([ :text = … ])Parse([ :text = …, :options = … ]) | static XElement Parse(string text)static XElement Parse(string text, LoadOptions options) |
RemoveAll | callMethod("RemoveAll",[]) | void RemoveAll() |
RemoveAttributes | callMethod("RemoveAttributes",[]) | void RemoveAttributes() |
ReplaceAll | ReplaceAll(p1) | void ReplaceAll(object content)void ReplaceAll(object[] content) |
ReplaceAttributes | ReplaceAttributes(p1) | void ReplaceAttributes(object content)void ReplaceAttributes(object[] content) |
Save | callMethod("Save",[p1])callMethod("Save",[p1,p2]) | void Save(string fileName)void Save(string fileName, SaveOptions options)void Save(Stream stream)void Save(Stream stream, SaveOptions options)void Save(TextWriter textWriter)void Save(TextWriter textWriter, SaveOptions options)void Save(XmlWriter writer) |
SaveAsync | SaveAsync([ :writer = …, :cancellationToken = … ])SaveAsync([ :stream = …, :options = …, :cancellationToken = … ])SaveAsync([ :textWriter = …, :options = …, :cancellationToken = … ]) | Task SaveAsync(Stream stream, SaveOptions options, CancellationToken cancellationToken)Task SaveAsync(TextWriter textWriter, SaveOptions options, CancellationToken cancellationToken)Task SaveAsync(XmlWriter writer, CancellationToken cancellationToken) |
SetAttributeValue | SetAttributeValue(p1,p2) | void SetAttributeValue(XName name, object value) |
SetElementValue | SetElementValue(p1,p2) | void SetElementValue(XName name, object value) |
SetValue | @SetValue(p1) | void SetValue(object value) |
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
WriteToAsync | callMethod("WriteToAsync",[p1,p2]) | Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) |
Members of the base class are inherited.
XName class sealed
System.Xml.Linq.XName · assembly System.Private.Xml.Linq
Implements: ISerializable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
LocalName | string | read | o.LocalName |
Namespace | XNamespace | read | o.Namespace |
NamespaceName | string | read | o.NamespaceName |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
Get | @Get(value)@Get([ :expandedName = … ])@Get([ :localName = …, :namespaceName = … ]) | static XName Get(string expandedName)static XName Get(string localName, string namespaceName) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
XNamespace class sealed
System.Xml.Linq.XNamespace · assembly System.Private.Xml.Linq
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NamespaceName | string | read | o.NamespaceName |
None | XNamespace | read · static | o.None |
Xml | XNamespace | read · static | o.Xml |
Xmlns | XNamespace | read · static | o.Xmlns |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
Get | @Get(p1) | static XNamespace Get(string namespaceName) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
GetName | callMethod("GetName",[p1]) | XName GetName(string localName) |
ToString | callMethod("ToString",[]) | string ToString() |
XNode class abstract · extends XObject
System.Xml.Linq.XNode · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NextNode | XNode | read | o.NextNode |
PreviousNode | XNode | read | o.PreviousNode |
DocumentOrderComparer | XNodeDocumentOrderComparer | read · static | o.DocumentOrderComparer |
EqualityComparer | XNodeEqualityComparer | read · static | o.EqualityComparer |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddAfterSelf | AddAfterSelf(p1) | void AddAfterSelf(object content)void AddAfterSelf(object[] content) |
AddBeforeSelf | AddBeforeSelf(p1) | void AddBeforeSelf(object content)void AddBeforeSelf(object[] content) |
Ancestors | Ancestors(NULL)Ancestors(value)Ancestors([ :name = … ]) | IEnumerable<XElement> Ancestors()IEnumerable<XElement> Ancestors(XName name) |
CompareDocumentOrder | CompareDocumentOrder(p1,p2) | static int CompareDocumentOrder(XNode n1, XNode n2) |
CreateReader | CreateReader(NULL)CreateReader(value)CreateReader([ :readerOptions = … ]) | XmlReader CreateReader()XmlReader CreateReader(ReaderOptions readerOptions) |
DeepEquals | DeepEquals(p1,p2) | static bool DeepEquals(XNode n1, XNode n2) |
ElementsAfterSelf | ElementsAfterSelf(NULL)ElementsAfterSelf(value)ElementsAfterSelf([ :name = … ]) | IEnumerable<XElement> ElementsAfterSelf()IEnumerable<XElement> ElementsAfterSelf(XName name) |
ElementsBeforeSelf | ElementsBeforeSelf(NULL)ElementsBeforeSelf(value)ElementsBeforeSelf([ :name = … ]) | IEnumerable<XElement> ElementsBeforeSelf()IEnumerable<XElement> ElementsBeforeSelf(XName name) |
IsAfter | IsAfter(p1) | bool IsAfter(XNode node) |
IsBefore | IsBefore(p1) | bool IsBefore(XNode node) |
NodesAfterSelf | callMethod("NodesAfterSelf",[]) | IEnumerable<XNode> NodesAfterSelf() |
NodesBeforeSelf | callMethod("NodesBeforeSelf",[]) | IEnumerable<XNode> NodesBeforeSelf() |
ReadFrom | ReadFrom(p1) | static XNode ReadFrom(XmlReader reader) |
ReadFromAsync | ReadFromAsync(p1,p2) | static Task<XNode> ReadFromAsync(XmlReader reader, CancellationToken cancellationToken) |
Remove | callMethod("Remove",[]) | void Remove() |
ReplaceWith | ReplaceWith(p1) | void ReplaceWith(object content)void ReplaceWith(object[] content) |
ToString | callMethod("ToString",[])callMethod("ToString",[p1]) | string ToString()string ToString(SaveOptions options) |
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
WriteToAsync | callMethod("WriteToAsync",[p1,p2]) | Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) |
Members of the base class are inherited.
XNodeDocumentOrderComparer class sealed
System.Xml.Linq.XNodeDocumentOrderComparer · assembly System.Private.Xml.Linq
Implements: IComparer
Constructors
new XNodeDocumentOrderComparer() |
Ring: new XNodeDocumentOrderComparer(args) uses one constructor; the others are chosen by the parameter names: new XNodeDocumentOrderComparer().@New([ :param = value ]) or dnNew("XNodeDocumentOrderComparer",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Compare | Compare(p1,p2) | int Compare(XNode x, XNode y) |
XNodeEqualityComparer class sealed
System.Xml.Linq.XNodeEqualityComparer · assembly System.Private.Xml.Linq
Implements: IEqualityComparer
Constructors
new XNodeEqualityComparer() |
Ring: new XNodeEqualityComparer(args) uses one constructor; the others are chosen by the parameter names: new XNodeEqualityComparer().@New([ :param = value ]) or dnNew("XNodeEqualityComparer",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals([ :x = …, :y = … ]) | bool Equals(XNode x, XNode y) |
GetHashCode | callMethod("GetHashCode",[p1]) | int GetHashCode(XNode obj) |
XObject class abstract
System.Xml.Linq.XObject · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BaseUri | string | read | o.BaseUri |
Document | XDocument | read | o.Document |
NodeType | XmlNodeType | read | o.NodeType |
Parent | XElement | read | o.Parent |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddAnnotation | AddAnnotation(p1) | void AddAnnotation(object annotation) |
Annotation | Annotation(NULL)Annotation(value)Annotation([ :type = … ]) | object Annotation(Type type)T Annotation<T>() |
Annotations | Annotations(NULL)Annotations(value)Annotations([ :type = … ]) | IEnumerable<object> Annotations(Type type)IEnumerable<T> Annotations<T>() |
RemoveAnnotations | callMethod("RemoveAnnotations",[])callMethod("RemoveAnnotations",[p1]) | void RemoveAnnotations(Type type)void RemoveAnnotations<T>() |
Events
| Event | Handler type | In Ring |
|---|---|---|
Changed | EventHandler<XObjectChangeEventArgs> | o.setChangedEvent(code) · o.clearChangedEvent() |
Changing | EventHandler<XObjectChangeEventArgs> | o.setChangingEvent(code) · o.clearChangingEvent() |
XObjectChangeEventArgs class · extends EventArgs
System.Xml.Linq.XObjectChangeEventArgs · assembly System.Private.Xml.Linq
Constructors
new XObjectChangeEventArgs(XObjectChange objectChange) |
Ring: new XObjectChangeEventArgs(args) uses one constructor; the others are chosen by the parameter names: new XObjectChangeEventArgs().@New([ :param = value ]) or dnNew("XObjectChangeEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ObjectChange | XObjectChange | read | o.ObjectChange |
Add | XObjectChangeEventArgs | read · static | o.Add |
Remove | XObjectChangeEventArgs | read · static | o.Remove |
Name | XObjectChangeEventArgs | read · static | o.Name |
Value | XObjectChangeEventArgs | read · static | o.Value |
Members of the base class are inherited.
XProcessingInstruction class · extends XNode
System.Xml.Linq.XProcessingInstruction · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Constructors
new XProcessingInstruction(string target, string data) |
new XProcessingInstruction(XProcessingInstruction other) |
Ring: new XProcessingInstruction(args) uses one constructor; the others are chosen by the parameter names: new XProcessingInstruction().@New([ :param = value ]) or dnNew("XProcessingInstruction",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Data | string | read, write | o.Data o.Data = v |
NodeType | XmlNodeType | read | o.getNodeType() |
Target | string | read, write | o.Target o.Target = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
WriteToAsync | callMethod("WriteToAsync",[p1,p2]) | Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) |
Members of the base class are inherited.
XStreamingElement class
System.Xml.Linq.XStreamingElement · assembly System.Private.Xml.Linq
Constructors
new XStreamingElement(XName name) |
new XStreamingElement(XName name, object content) |
new XStreamingElement(XName name, object[] content) |
Ring: new XStreamingElement(args) uses one constructor; the others are chosen by the parameter names: new XStreamingElement().@New([ :param = value ]) or dnNew("XStreamingElement",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | XName | read, write | o.Name o.Name = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(object content)void Add(object[] content) |
Save | callMethod("Save",[p1])callMethod("Save",[p1,p2]) | void Save(Stream stream)void Save(Stream stream, SaveOptions options)void Save(TextWriter textWriter)void Save(TextWriter textWriter, SaveOptions options)void Save(XmlWriter writer)void Save(string fileName)void Save(string fileName, SaveOptions options) |
ToString | callMethod("ToString",[])callMethod("ToString",[p1]) | string ToString()string ToString(SaveOptions options) |
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
XText class · extends XNode
System.Xml.Linq.XText · assembly System.Private.Xml.Linq
Implements: IXmlLineInfo
Constructors
new XText(string value) |
new XText(XText other) |
Ring: new XText(args) uses one constructor; the others are chosen by the parameter names: new XText().@New([ :param = value ]) or dnNew("XText",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NodeType | XmlNodeType | read | o.getNodeType() |
Value | string | read, write | o.Value o.Value = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
WriteTo | WriteTo(p1) | void WriteTo(XmlWriter writer) |
WriteToAsync | callMethod("WriteToAsync",[p1,p2]) | Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) |
Members of the base class are inherited.