DirectoryGetFiles Method (String) |
Returns the names of files (including their paths) in the specified directory.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax public static string[] GetFiles(
string path
)
Parameters
- path
- Type: SystemString
The relative or absolute path to the directory to search. This string is not case-sensitive.
Return Value
Type:
StringAn array of the full names (including paths) for the files in the specified directory, or an empty array if no files are found.
Remarks See Also