.NET Framework Class Library
File.IsFileLocked Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > File Class > File Methods > .NET Framework Class Library |
This command allows to check if a file is currently locked because it's checkedout and opened.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function IsFileLocked ( _ fullPath As String _ |
C# |
|---|
public bool IsFileLocked( string fullPath |
Visual C++ |
|---|
public: bool IsFileLocked( |
JavaScript |
|---|
function isFileLocked(fullPath); |
Parameters
fullPath
Type: System.String
the full file path name
Return Value
true if the file is locked; false otherwise
Remarks
If the file is checkedin, it's not considered as locked even if opened
if the file is checkedout, it's considered as locked only if opened.
See Also