Set or unset a read 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 SetReadLock(
string filename,
bool lockVal,
int[] keynumbers
) |
Visual Basic |
---|
Public Sub SetReadLock (
filename As String,
lockVal As Boolean,
keynumbers As Integer()
) |
Visual C++ |
---|
public:
void SetReadLock(
String^ filename,
bool lockVal,
array<int>^ keynumbers
) |
F# |
---|
member SetReadLock :
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