Gets or sets the content between the opening and closing tags of the control with automatic conversion of special characters to their equivalent HTML entities. This property is not supported for this control.
Assembly: System.Web (in System.Web.dll)
Syntax . . :: . String
The content between the opening and closing tags of the control.
Public Overrides Property InnerText As String
Get
Setpublic override string InnerText { get; set; }public:
virtual property String^ InnerText {
String^ get () override;
void set (String^ value) override;
}abstract InnerText : string with get, set
override InnerText : string with get, set<asp:HtmlTableRow InnerText="String" />Property Value
Type: SystemThe content between the opening and closing tags of the control.
Exceptions
| Exception | Condition |
|---|---|
| NotSupportedException | An attempt was made to read from or assign a value to this property. |
Remarks
Caution |
|---|
Do not read from or assign a value to this property. Otherwise, a System |
Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements. See Also
Caution