NAnt SDK Documentation - v0.92 |

# Token Properties

The properties of the Token class are listed below. For a complete list of Token class members, see the Token Members topic.

#### Public Instance Properties

IfDefined | Indicates if the token should be used to replace values. If true then the token will be used; otherwise, not. The default is true.
Key | Token to be replaced.
Name (inherited from Element) | Gets the name of the XML element used to initialize this element.
NamespaceManager (inherited from Element) | Gets or sets the XmlNamespaceManager.
Parent (inherited from Element) | Gets or sets the parent of the element.
Project (inherited from Element) | Gets or sets the Project to which this element belongs.
Properties (inherited from Element) | Gets the properties local to this Element and the Project.
UnlessDefined | Indicates if the token should not be used to replace values. If false then the token will be used; otherwise, not. The default is false.
Value | New value of token.

#### Protected Instance Properties

CustomXmlProcessing (inherited from Element) | Gets a value indicating whether the element is performing additional processing using the XmlNode that was used to initialize the element.
Location (inherited from Element) | Gets or sets the location in the build file where the element is defined.
XmlNode (inherited from Element) | Gets or sets the XML node of the element.

#### See Also

Token Class | NAnt.Core.Types Namespace