Edit

Share via


DirectoryInfo.GetFileSystemInfos Method

Definition

Overloads

GetFileSystemInfos()
GetFileSystemInfos(String)
GetFileSystemInfos(String, EnumerationOptions)
GetFileSystemInfos(String, SearchOption)

GetFileSystemInfos()

public:
 cli::array <Microsoft::IO::FileSystemInfo ^> ^ GetFileSystemInfos();
public Microsoft.IO.FileSystemInfo[] GetFileSystemInfos ();
member this.GetFileSystemInfos : unit -> Microsoft.IO.FileSystemInfo[]
Public Function GetFileSystemInfos () As FileSystemInfo()

Returns

Applies to

GetFileSystemInfos(String)

public:
 cli::array <Microsoft::IO::FileSystemInfo ^> ^ GetFileSystemInfos(System::String ^ searchPattern);
public Microsoft.IO.FileSystemInfo[] GetFileSystemInfos (string searchPattern);
member this.GetFileSystemInfos : string -> Microsoft.IO.FileSystemInfo[]
Public Function GetFileSystemInfos (searchPattern As String) As FileSystemInfo()

Parameters

searchPattern
String

Returns

Applies to

GetFileSystemInfos(String, EnumerationOptions)

public:
 cli::array <Microsoft::IO::FileSystemInfo ^> ^ GetFileSystemInfos(System::String ^ searchPattern, Microsoft::IO::EnumerationOptions ^ enumerationOptions);
public Microsoft.IO.FileSystemInfo[] GetFileSystemInfos (string searchPattern, Microsoft.IO.EnumerationOptions enumerationOptions);
member this.GetFileSystemInfos : string * Microsoft.IO.EnumerationOptions -> Microsoft.IO.FileSystemInfo[]
Public Function GetFileSystemInfos (searchPattern As String, enumerationOptions As EnumerationOptions) As FileSystemInfo()

Parameters

searchPattern
String
enumerationOptions
EnumerationOptions

Returns

Applies to

GetFileSystemInfos(String, SearchOption)

public:
 cli::array <Microsoft::IO::FileSystemInfo ^> ^ GetFileSystemInfos(System::String ^ searchPattern, Microsoft::IO::SearchOption searchOption);
public Microsoft.IO.FileSystemInfo[] GetFileSystemInfos (string searchPattern, Microsoft.IO.SearchOption searchOption);
member this.GetFileSystemInfos : string * Microsoft.IO.SearchOption -> Microsoft.IO.FileSystemInfo[]
Public Function GetFileSystemInfos (searchPattern As String, searchOption As SearchOption) As FileSystemInfo()

Parameters

searchPattern
String
searchOption
SearchOption

Returns

Applies to