Get all files in a directory
Namespace:
Contracts.IO
Assembly: Contracts (in Contracts.dll)
Assembly: Contracts (in Contracts.dll)
Public Shared Function GetFiles( _
ByVal path As String, _
ByVal extension As String, _
ByVal option As SearchOption _
) As String()
This language is not supported or no code example is available.
public static string[] GetFiles(
string path,
string extension,
SearchOption option
)
This language is not supported or no code example is available.
public:
static array< String^ >^ GetFiles(
String^ path,
String^ extension,
SearchOption option
)
This language is not supported or no code example is available.
Parameters
- path
-
Type: string
<default>
- extension
-
Type: string
<default>
- option
-
Type: SearchOption
<default>