Directory.EnumerateFileSystemEntries 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
EnumerateFileSystemEntries(String) | |
EnumerateFileSystemEntries(String, String) | |
EnumerateFileSystemEntries(String, String, EnumerationOptions) | |
EnumerateFileSystemEntries(String, String, SearchOption) |
EnumerateFileSystemEntries(String)
public:
static System::Collections::Generic::IEnumerable<System::String ^> ^ EnumerateFileSystemEntries(System::String ^ path);
public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries (string path);
static member EnumerateFileSystemEntries : string -> seq<string>
Public Shared Function EnumerateFileSystemEntries (path As String) As IEnumerable(Of String)
Parameters
- path
- String
Returns
Applies to
EnumerateFileSystemEntries(String, String)
public:
static System::Collections::Generic::IEnumerable<System::String ^> ^ EnumerateFileSystemEntries(System::String ^ path, System::String ^ searchPattern);
public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries (string path, string searchPattern);
static member EnumerateFileSystemEntries : string * string -> seq<string>
Public Shared Function EnumerateFileSystemEntries (path As String, searchPattern As String) As IEnumerable(Of String)
Parameters
- path
- String
- searchPattern
- String
Returns
Applies to
EnumerateFileSystemEntries(String, String, EnumerationOptions)
public:
static System::Collections::Generic::IEnumerable<System::String ^> ^ EnumerateFileSystemEntries(System::String ^ path, System::String ^ searchPattern, Microsoft::IO::EnumerationOptions ^ enumerationOptions);
public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries (string path, string searchPattern, Microsoft.IO.EnumerationOptions enumerationOptions);
static member EnumerateFileSystemEntries : string * string * Microsoft.IO.EnumerationOptions -> seq<string>
Public Shared Function EnumerateFileSystemEntries (path As String, searchPattern As String, enumerationOptions As EnumerationOptions) As IEnumerable(Of String)
Parameters
- path
- String
- searchPattern
- String
- enumerationOptions
- EnumerationOptions
Returns
Applies to
EnumerateFileSystemEntries(String, String, SearchOption)
public:
static System::Collections::Generic::IEnumerable<System::String ^> ^ EnumerateFileSystemEntries(System::String ^ path, System::String ^ searchPattern, Microsoft::IO::SearchOption searchOption);
public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries (string path, string searchPattern, Microsoft.IO.SearchOption searchOption);
static member EnumerateFileSystemEntries : string * string * Microsoft.IO.SearchOption -> seq<string>
Public Shared Function EnumerateFileSystemEntries (path As String, searchPattern As String, searchOption As SearchOption) As IEnumerable(Of String)
Parameters
- path
- String
- searchPattern
- String
- searchOption
- SearchOption
Returns
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา