'Declaration Public Overloads Function LockItem( _
ByVal keyThe stream filename or file URL.As String, _
ByVal isReadOnlyA value indicating whether the stream must be locked in read-only mode.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 or file URL.
- isReadOnly
- A value indicating whether the stream must be locked in read-only mode.
Return Value
The stream, which was opened in read-write mode and without ability to share the file.