Reason Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the reason for the error.
Syntax
public string Reason { get; }Public ReadOnly Property Reason As StringExamples
The following example uses XmlErrorEventArgs.Reason while handling XmlNotWellFormed.
textControl.XmlNotWellFormed += (_, e) =>
{
Console.WriteLine($"Reason: {e.Reason}");
};AddHandler textControl.XmlNotWellFormed,
Sub(sender, e)
Console.WriteLine($"Reason: {e.Reason}")
End SubLimitations
Read only.