Skip to content

format

typescript
Directory.GetFiles(path)

class: Directory

description

Get all file paths under the specified directory path. This method does not recursively retrieve files in subdirectories.

parameter

param_nametypedescription
pathstringThe specified directory path.

return

typedescription
stringAn array of file path strings.

code example