This document is archived and information here might be outdated. Recommended version. |
Advances the current postion to the specified file if it exists.
[Visual Basic .NET] Public Function Find ( _ ByVal FileName As String _ ) As Boolean
[C#] public bool Find ( string FileName );
[C++]
HRESULT Find(
BSTR FileName
);
[C++]
Parameters FileName [in]
FileName is a parameter of type BSTR
Indicates whether the specified file name exists in the array.
If the array contains a file name which is a directory path, the Find method returns False (not found) if the directory path was passed to be searched. The Find method searches only for files.