This documentation is archived and is not being maintained.
HtmlSelect.InnerText Property
.NET Framework 1.1
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.
[Visual Basic] Overrides Public Property InnerText As String [C#] public override string InnerText {get; set;} [C++] public: __property String* get_InnerText(); public: __property void set_InnerText(String*); [JScript] public override function get InnerText() : String; public override function set InnerText(String);
Property Value
The content between the opening and closing tags of the control.
Exceptions
| Exception Type | Condition |
|---|---|
| NotSupportedException | An attempt is 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.NotSupportedException is thrown. This property is inherited from the HtmlContainerControl class and is not applicable to the HtmlSelect class.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
HtmlSelect Class | HtmlSelect Members | System.Web.UI.HtmlControls Namespace | InnerHtml
Show: