DataBoundLiteralControl.ITextControl.Text Property
.NET Framework (current version)
Gets or sets the text content of the DataBoundLiteralControl object.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.StringA String that represents the text content of the DataBoundLiteralControl.
Implements
ITextControl.Text| Exception | Condition |
|---|---|
| NotSupportedException | An attempt to set the value is made. |
This implementation of the ITextControl interface returns the value of the Text property. The value of the Text property is persisted in the view state.
The DataBoundLiteralControl object implements ITextControl but does not support the set method on the Text property. All attempts to use this method will return a NotSupportedException exception.
.NET Framework
Available since 2.0
Available since 2.0
Show: