Utility FindFile Method Bespoke Osc Library
Find a file within a directory structure.

Namespace: Bespoke.Common
Assembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax

Public Shared Function FindFile ( _
	fileName As String, _
	startDirectory As String, _
	<OutAttribute> ByRef foundFile As FileInfo _
) As Boolean

Parameters

fileName
Type: OnlineSystem String
The name of the file to find.
startDirectory
Type: OnlineSystem String
The directory to begin searching.
foundFile
Type: OnlineSystem.IO FileInfo 
The OnlineFileInfo object containing file information, if the object is found; otherwise, null.

Return Value

true if the specified file is found; otherwise, false.
See Also