| 
            
              FilePathGetFileList Method
             | 
          
        
        
            Gets a list of files under the specified path. Search wildcard pattern (c:\Data\*.dat) can be used for 
            including only the files matching the pattern or path wildcard pattern (c:\Data\*\*.dat) to indicate the 
            inclusion of files under all subdirectories in the list.
            
        
        Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic static string[] GetFileList(
	string path,
	Action<Exception> exceptionHandler = null
)
Public Shared Function GetFileList ( 
	path As String,
	Optional exceptionHandler As Action(Of Exception) = Nothing
) As String()
public:
static array<String^>^ GetFileList(
	String^ path, 
	Action<Exception^>^ exceptionHandler = nullptr
)
static member GetFileList : 
        path : string * 
        ?exceptionHandler : Action<Exception> 
(* Defaults:
        let _exceptionHandler = defaultArg exceptionHandler null
*)
-> string[] GSF.IO.FilePath.GetFileList = function(path, exceptionHandler);
 View SourceParameters
- path  String
 - The path for which a list of files is to be returned.
 - exceptionHandler  ActionException  (Optional)
 - Handles exceptions thrown during file enumeration.
 
Return Value
StringA list of files under the given path.
See Also