SmlWriter.SmlAttribute

References
public sealed class SmlWriter.SmlAttribute : IDisposable
A disposable attribute object. The object must be disposed when the block ends to ensure SML compliant text.

Constructors

SmlAttribute

#
public SmlAttribute(SmlWriter writer, string name)
writer (SmlWriter)
name (string)

Methods

Add

#
public void Add(string value)
value (string)

AddValue

#
public void AddValue(Value value)
Write a value to this attribute.
value (Value)

Dispose

#
public void Dispose()

Dispose

#
public void Dispose(string comment)
Append a comment to the end of the attribute and dispose the attribute.
comment (string)