NAnt SDK Documentation - v0.92

PathElement Properties

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

Public Instance Properties

Directory The name of a directory to add to the path. Will be replaced with the absolute path of the directory.
File The name of a file to add to the path. Will be replaced with the absolute path of the file.
IfDefined If true then the entry will be added to the path; 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.
Parent (inherited from Element) Gets or sets the parent of the element.
Parts Gets the parts of a path represented by this element.
Path A string that will be treated as a path-like string. You can use : or ; as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables.
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 Opposite of IfDefined. If false then the entry will be added to the path; otherwise, skipped. The default is false.

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

PathElement Class | NAnt.Core.Types Namespace