Checks the existence of the specified file in the specified folder.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
bool FileExists( IFolderInfo folder, string fileName ) |
| Visual Basic |
|---|
Function FileExists ( folder As IFolderInfo, fileName As String ) As Boolean |
Parameters
- folder
- Type: DotNetNuke.Services.FileSystem..::..IFolderInfo
The folder where to check the existence of the file.
- fileName
- Type: System..::..String
The file name to check the existence of.