Select Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Selects the text of the XML element. The text can only be selected, if the element belongs to the document.
Syntax
public bool Select();Public Function [Select]() As BooleanReturn Value
The return value is true, if the text could be selected. Otherwise it is false.
Examples
The following example selects the requested part of the xml element.
if (xmlElement.Select())
{
Console.WriteLine("Select completed successfully.");
}If xmlElement.Select() Then
Console.WriteLine("Select completed successfully.")
End IfRemarks
If the element consists of several sub-elements Text Control selects the text of the first sub-element.