Gets the name of an XML element.

Syntax

public string ElementName { get; }
Public ReadOnly Property ElementName() As String

Examples

The following snippet shows an easy way to use the TXTextControl.XmlElement.ElementName property. Here, it is stored in a variable of the type 'string'.

TXTextControl.XmlElement myXMElement = new TXTextControl.XmlElement("XMLElementName");

System.Windows.Forms.MessageBox.Show("The XMLElement ElementName property is: " + newElement.ElementName);
Dim myXMElement As TXTextControl.XmlElement = New TXTextControl.XmlElement("XMLElementName") 

System.Windows.Forms.MessageBox.Show("The XMLElement ElementName property is: " & newElement.ElementName)