DirectoryInfo.GetFileSystemInfos Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns an array of strongly typed FileSystemInfo entries representing all the files and subdirectories in a directory.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)


Public Function GetFileSystemInfos As FileSystemInfo()
public FileSystemInfo[] GetFileSystemInfos()

Return Value

Type: array<System.IO..::.FileSystemInfo>[]()[]
An array of strongly typed FileSystemInfo entries.


Exception Condition

The path is invalid, such as being on an unmapped drive.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


DirectoryInfo Class

GetFileSystemInfos Overload

System.IO Namespace