Content Studio Web Content Management System
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Returns true if the attribute was written, false otherwise.
[This is preliminary documentation and is subject to change.]
Writes an attribute string to the supplied stream.
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, bool omitIfEmpty )
Parameters
- output
- Type: System.IOTextWriter
A TextWriter to write to - name
- Type: SystemString
The name of the attribute - value
- Type: SystemString
The value of the attribute. This value is HTML-encoded - omitIfEmpty
- Type: SystemBoolean
A value that indicates if the attribute should be omitted if Value is an empty string or null.
Return Value
Type: BooleanReturns true if the attribute was written, false otherwise.
See Also