FileHelperGetFileNamesInDirectory Method
Namespace: PCBI_API_Extensions.HelperAssembly: PCBI.API_Library (in PCBI.API_Library.dll) Version: 17.0.0.0 (17.0.0.0)
public static List<string> GetFileNamesInDirectory(
string directoryPath,
Func<FileInfo, Object> orderByFunc = null,
bool descending = false
)
Public Shared Function GetFileNamesInDirectory (
directoryPath As String,
Optional orderByFunc As Func(Of FileInfo, Object) = Nothing,
Optional descending As Boolean = false
) As List(Of String)
public:
static List<String^>^ GetFileNamesInDirectory(
String^ directoryPath,
Func<FileInfo^, Object^>^ orderByFunc = nullptr,
bool descending = false
)
static member GetFileNamesInDirectory :
directoryPath : string *
?orderByFunc : Func<FileInfo, Object> *
?descending : bool
(* Defaults:
let _orderByFunc = defaultArg orderByFunc null
let _descending = defaultArg descending false
*)
-> List<string>
- directoryPath String
-
- orderByFunc FuncFileInfo, Object (Optional)
-
- descending Boolean (Optional)
-
ListString