|
Il presente articolo è stato tradotto manualmente. Passare il puntatore sulle frasi nell'articolo per visualizzare il testo originale.
|
Traduzione
Originale
|
Metodo HtmlTextWriter.RenderBeforeContent
Assembly: System.Web (in System.Web.dll)
Valore restituito
Tipo: System.String// Override the RenderBeforeContent method to write // a font element that applies red to the text in a Label element. protected override string RenderBeforeContent() { // Check to determine whether the element being rendered // is a label element. If so, render the opening tag // of the font element; otherwise, call the base method. if (TagKey == HtmlTextWriterTag.Label) { return "<font color=\"red\">"; } else { return base.RenderBeforeContent(); } }
Windows 7, Windows Vista SP1 o versione successiva, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (componenti di base del server non supportati), Windows Server 2008 R2 (componenti di base del server supportati con SP1 o versione successiva), Windows Server 2003 SP2
.NET Framework non supporta tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.