'Declaration Public Overloads Function LockItem( _
ByVal keyThe stream filename.As System.String, _
ByVal isReadOnlyA value indicating whether the stream is read-only.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.
- 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.