Set or unset a read/write lock for a file or directory.
Namespace: BasicCard.BasicCards.FileSysAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public void SetReadWriteLock(
string filename,
bool lockVal,
int[] keynumbers
) |
Visual Basic |
---|
Public Sub SetReadWriteLock (
filename As String,
lockVal As Boolean,
keynumbers As Integer()
) |
Visual C++ |
---|
public:
void SetReadWriteLock(
String^ filename,
bool lockVal,
array<int>^ keynumbers
) |
F# |
---|
member SetReadWriteLock :
filename : string *
lockVal : bool *
keynumbers : int[] -> unit
|
Parameters
- filename
- Type: System..::..String
file name
- lockVal
- Type: System..::..Boolean
true to lock the file, false to unlock the file
- keynumbers
- Type: array<System..::..Int32>[]()[][]
keys to allow for locked access (may be null)
See Also