Returns an array of strongly typed System.IO.FileSystemInfo entries representing all the files and subdirectories in a directory.
An array of strongly typed System.IO.FileSystemInfo entries.
If there are no files or directories in the System.IO.DirectoryInfo, this method returns an empty array. This method is not recursive.
For subdirectories, the System.IO.FileSystemInfo objects returned by this method can be cast to the derived class System.IO.DirectoryInfo. Use the System.IO.FileAttributes value returned by the FileSystemInfo.Attributes property to determine whether the System.IO.FileSystemInfo represents a file or a directory.
This method pre-populates the values of the following System.IO.FileSystemInfo properties: