NAnt SDK Documentation - v0.92

Option Properties

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

Public Instance Properties

IfDefined Indicates if the option should be passed to the task. If true then the option will be passed; otherwise, skipped. The default is true.
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.
OptionName Name of the option.
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 option should not be passed to the task. If false then the option will be passed; otherwise, skipped. The default is false.
Value Value of the option. The default is a null reference (Nothing in Visual Basic).

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

Option Class | NAnt.Core.Types Namespace