skip to main content
XPathNodeIterator GetFiles (string path)
 
Returns an XML node set containing absolute 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.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
path
Full pathname of the file or directory.
Returns:
The files in a node set.
Was this helpful?
Last modified date: 10/14/2020