TX Text Control .NET for Windows Forms Documentation

XmlElement Class

An instance of this class represents an element in a XML document. To iterate through all occurrences of an XML element in a Text Control document the XmlElementCollection class can be used.

Syntax

[C#] public class XmlElement
[Visual Basic] Public Class XmlElement

Constructors

ConstructorDescription
XmlElementInitializes a new instance of the XmlElement class.

Properties

PropertyDescription
AutoSelectDetermines whether the text of a newly added XML element is automatically selected.
AutoTextDetermines whether text is automatically created for a newly added XML element that has no text contents.
ElementNameGets the name of an XML element.
TextSpecifies the text of the XML element.

Methods

MethodDescription
AddChildAdds a new XML element as a sub-element of this element.
GetChildItemReturns an XML Element object that is a child element of this element.
RemoveChildRemoves a sub-element from this element.
SelectSelects the text of the XML element.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now