Checks the existence of the specified file in the specified folder.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public virtual bool FileExists(
IFolderInfo folder,
string fileName
) |
| Visual Basic |
|---|
Public Overridable Function FileExists (
folder As IFolderInfo,
fileName As String
) As Boolean |
Return Value
A bool value indicating whether the file exists or not in the specified folder.
Implements
IFileManager..::..FileExists(IFolderInfo, String)
Exceptions
See Also