HtmlTextWriter.WriteStyleAttribute Method


Writes a style attribute and its value to the output stream.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

System_CAPS_pubmethodWriteStyleAttribute(String, String)

Writes the specified style attribute to the output stream.

System_CAPS_pubmethodWriteStyleAttribute(String, String, Boolean)

Writes the specified style attribute and value to the output stream, and encodes the value, if specified.

Return to top