directory::get-directory-root

[This is preliminary documentation and subject to change.]

Returns the volume information, root information, or both for the specified path.

Usage

string directory::get-directory-root(path)

Parameters

Name Type Description
path string The path for which to retrieve the parent directory.

Return Value

A string containing the volume information, root information, or both for the specified path.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.86.3402.0)