DirectoryInfo.EnumerateFileSystemInfos 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
EnumerateFileSystemInfos(String, SearchOption) | |
EnumerateFileSystemInfos(String, EnumerationOptions) | |
EnumerateFileSystemInfos() | |
EnumerateFileSystemInfos(String) |
EnumerateFileSystemInfos(String, SearchOption)
public:
System::Collections::Generic::IEnumerable<Microsoft::IO::FileSystemInfo ^> ^ EnumerateFileSystemInfos(System::String ^ searchPattern, Microsoft::IO::SearchOption searchOption);
public System.Collections.Generic.IEnumerable<Microsoft.IO.FileSystemInfo> EnumerateFileSystemInfos (string searchPattern, Microsoft.IO.SearchOption searchOption);
member this.EnumerateFileSystemInfos : string * Microsoft.IO.SearchOption -> seq<Microsoft.IO.FileSystemInfo>
Public Function EnumerateFileSystemInfos (searchPattern As String, searchOption As SearchOption) As IEnumerable(Of FileSystemInfo)
Parameters
- searchPattern
- String
- searchOption
- SearchOption
Returns
Applies to
EnumerateFileSystemInfos(String, EnumerationOptions)
public:
System::Collections::Generic::IEnumerable<Microsoft::IO::FileSystemInfo ^> ^ EnumerateFileSystemInfos(System::String ^ searchPattern, Microsoft::IO::EnumerationOptions ^ enumerationOptions);
public System.Collections.Generic.IEnumerable<Microsoft.IO.FileSystemInfo> EnumerateFileSystemInfos (string searchPattern, Microsoft.IO.EnumerationOptions enumerationOptions);
member this.EnumerateFileSystemInfos : string * Microsoft.IO.EnumerationOptions -> seq<Microsoft.IO.FileSystemInfo>
Public Function EnumerateFileSystemInfos (searchPattern As String, enumerationOptions As EnumerationOptions) As IEnumerable(Of FileSystemInfo)
Parameters
- searchPattern
- String
- enumerationOptions
- EnumerationOptions
Returns
Applies to
EnumerateFileSystemInfos()
public:
System::Collections::Generic::IEnumerable<Microsoft::IO::FileSystemInfo ^> ^ EnumerateFileSystemInfos();
public System.Collections.Generic.IEnumerable<Microsoft.IO.FileSystemInfo> EnumerateFileSystemInfos ();
member this.EnumerateFileSystemInfos : unit -> seq<Microsoft.IO.FileSystemInfo>
Public Function EnumerateFileSystemInfos () As IEnumerable(Of FileSystemInfo)
Returns
Applies to
EnumerateFileSystemInfos(String)
public:
System::Collections::Generic::IEnumerable<Microsoft::IO::FileSystemInfo ^> ^ EnumerateFileSystemInfos(System::String ^ searchPattern);
public System.Collections.Generic.IEnumerable<Microsoft.IO.FileSystemInfo> EnumerateFileSystemInfos (string searchPattern);
member this.EnumerateFileSystemInfos : string -> seq<Microsoft.IO.FileSystemInfo>
Public Function EnumerateFileSystemInfos (searchPattern As String) As IEnumerable(Of FileSystemInfo)
Parameters
- searchPattern
- String
Returns
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.