GetItem Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Returns a particular XML element from the collection.
Syntax
GetItem()
Returns the item with the current input position.
public XmlElement GetItem();Public Function GetItem() As XmlElementGetItem(int)
Returns the item with the specified index.
public XmlElement GetItem(int index);Public Function GetItem(index As Integer) As XmlElement| Parameter | Description |
|---|---|
| index | The one based index of the XmlElement. |
Return Value
The return value is the requested element or null, if the element does not exist.
Examples
The following example retrieves item from the xml element collection.
XmlElement result = xmlElementCollection.GetItem(1);
result?.Select();Dim result As XmlElement = xmlElementCollection.GetItem(1)
If result IsNot Nothing Then result.Select()