BuildMaster SDK Reference
Version:

WriteAttribute(string name, string value) Method

Writes an attribute to the current tag.

Syntax

public void WriteAttribute(string name, string value)

Parameters

name
Type: string

The attribute name.

value
Type: string

The attribute value.

Exceptions

System.ArgumentNullException

name is null (Nothing in Visual Basic) or empty.

System.InvalidOperationException

There is no current tag or the current tag has been closed.