แก้ไข

แชร์ผ่าน


Directory.GetFileSystemEntries Method

Definition

Overloads

GetFileSystemEntries(String)
GetFileSystemEntries(String, String)
GetFileSystemEntries(String, String, EnumerationOptions)
GetFileSystemEntries(String, String, SearchOption)

GetFileSystemEntries(String)

public:
 static cli::array <System::String ^> ^ GetFileSystemEntries(System::String ^ path);
public static string[] GetFileSystemEntries (string path);
static member GetFileSystemEntries : string -> string[]
Public Shared Function GetFileSystemEntries (path As String) As String()

Parameters

path
String

Returns

String[]

Applies to

GetFileSystemEntries(String, String)

public:
 static cli::array <System::String ^> ^ GetFileSystemEntries(System::String ^ path, System::String ^ searchPattern);
public static string[] GetFileSystemEntries (string path, string searchPattern);
static member GetFileSystemEntries : string * string -> string[]
Public Shared Function GetFileSystemEntries (path As String, searchPattern As String) As String()

Parameters

path
String
searchPattern
String

Returns

String[]

Applies to

GetFileSystemEntries(String, String, EnumerationOptions)

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

Parameters

path
String
searchPattern
String
enumerationOptions
EnumerationOptions

Returns

String[]

Applies to

GetFileSystemEntries(String, String, SearchOption)

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

Parameters

path
String
searchPattern
String
searchOption
SearchOption

Returns

String[]

Applies to