|
FilePathTryGetWriteLock Method
|
Attempts to get write access on a file.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
Syntaxpublic static bool TryGetWriteLock(
string fileName
)
Public Shared Function TryGetWriteLock (
fileName As String
) As Boolean
public:
static bool TryGetWriteLock(
String^ fileName
)
static member TryGetWriteLock :
fileName : string -> bool
GSF.IO.FilePath.TryGetWriteLock = function(fileName);
View SourceParameters
- fileName String
- The file to check for write access.
Return Value
BooleanTrue if write access is obtained; false otherwise.
See Also