'Declaration Public Overloads Function LockItem( _
ByVal keyThe stream filename or file URL.As System.String, _
ByVal isReadOnlyA value indicating whether the stream must be locked in read-only mode.As Boolean _
) As System.Object
public System.Object LockItem(
System.String key,
bool isReadOnly
)
public: System.Object LockItem(
System.String key,
bool isReadOnly
)
public:
System.Object LockItem(
System.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.