Checks if a file is locked or not
Namespace: DotNetNuke.Services.FileSystem.InternalAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
bool IsFileLocked( IFileInfo file, out string lockReasonKey ) |
Visual Basic |
---|
Function IsFileLocked ( file As IFileInfo, <OutAttribute> ByRef lockReasonKey As String ) As Boolean |
Parameters
- file
- Type: DotNetNuke.Services.FileSystem..::..IFileInfo
The file to be checked
- lockReasonKey
- Type: System..::..String%
The friendly reason why the file is locked