SilverlightPlugin.AddAttributesToRender Method

Adds HTML attributes and styles to render with 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 Overridable Sub AddAttributesToRender ( _
    writer As HtmlTextWriter _
)
'Usage
Dim writer As HtmlTextWriter

Me.AddAttributesToRender(writer)
protected virtual 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

SilverlightPlugin Class

SilverlightPlugin Members

System.Web.UI.SilverlightControls Namespace