DirectoryInfo.GetFileSystemInfos Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.