ActiveScriptingBaseWriteAttribute Method (TextWriter, String, String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Writes an attribute string to the supplied stream, unless Value is an empty string or null

Namespace: ContentStudio.Site.ActiveScripting
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected virtual bool WriteAttribute(
	TextWriter output,
	string name,
	string value
)

Parameters

output
Type: System.IOTextWriter
A StreamWriter to write to
name
Type: SystemString
The name of the attribute
value
Type: SystemString
The value of the attribute. This value is HTML-encoded

Return Value

Type: Boolean
Returns true if the attribute was written, false otherwise.
See Also

Reference