DirectoryInfo.GetFileSystemInfos Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves an array of strongly typed FileSystemInfo objects representing files and subdirectories of the current directory.

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

NameDescription
System_CAPS_pubmethodGetFileSystemInfos()

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

System_CAPS_pubmethodGetFileSystemInfos(String)

Retrieves an array of strongly typed FileSystemInfo objects representing the files and subdirectories that match the specified search criteria.

System_CAPS_pubmethodGetFileSystemInfos(String, SearchOption)

Retrieves an array of FileSystemInfo objects that represent the files and subdirectories matching the specified search criteria.

Return to top
Show: