Export (0) Print
Expand All

HtmlTextWriter.WriteStyleAttribute Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method WriteStyleAttribute(String, String) Writes the specified style attribute to the output stream.
Public method WriteStyleAttribute(String, String, Boolean) Writes the specified style attribute and value to the output stream, and encodes the value, if specified.
© 2014 Microsoft