Find a file within a directory structure.
Namespace: Bespoke.CommonAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
Parameters
- fileName
- Type: System String
The name of the file to find.
- startDirectory
- Type: System String
The directory to begin searching.
- foundFile
- Type: System.IO FileInfo
The FileInfo object containing file information, if the object is found; otherwise, null.
Return Value
true if the specified file is found; otherwise, false.See Also