'Declaration Public Overloads Function LockItem( _
ByVal keyThe stream filename.As String, _
ByVal isReadOnlyA value indicating whether the stream is read-only.As Boolean _
) As Object
public object LockItem(
string key,
bool isReadOnly
)
public: object* LockItem(
string* key,
bool isReadOnly
)
public:
object^ LockItem(
string^ key,
bool isReadOnly
)
Parameters
- key
- The stream filename.
- isReadOnly
- A value indicating whether the stream is read-only.
Return Value
The stream, which was opened in read-write mode and without ability to share the file.