Share via


Silverlight.AddAttributesToRender Method

Adds HTML attributes and styles to render by using the specified HtmlTextWriter instance. This method is primarily used by control developers.

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

Syntax

'Declaration
Protected Overrides Sub AddAttributesToRender ( _
    writer As HtmlTextWriter _
)
'Usage
Dim writer As HtmlTextWriter

Me.AddAttributesToRender(writer)
protected override void AddAttributesToRender(
    HtmlTextWriter writer
)

Parameters

  • writer
    Type: HtmlTextWriter
    An HtmlTextWriter instance that represents the output stream that is used to render HTML content to the client.

Exceptions

Exception Condition
ArgumentNullException

The specified writer is not a valid HtmlTextWriter

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Silverlight Class

Silverlight Members

System.Web.UI.SilverlightControls Namespace