skip to main content
XPathNodeIterator GetRelativeFiles (string path)
 
Returns an XML node set containing RELATIVE file paths to all files in the specified path. If the path specifies a file, a single file entry will be returned. If the path specifies a directory, all file paths in the directory and their children are returned.
Filename path(s) created will be relative to 'relativeToPath' (if non-zero in length).
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
path
Full pathname of the file.
Returns:
The relative files in a node set.
Was this helpful?
Last modified date: 10/14/2020