VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Data Namespace / CompressedImageStorageOnDisk Class / LockItem Methods / LockItem(String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
LockItem(String) Method (CompressedImageStorageOnDisk)
In This Topic
Locks an item in data storage and returns the item.
Syntax
'Declaration

Public Overloads Overrides Function LockItem( _
ByVal key
The item key.
As System.String _
) As System.Object
public override System.Object LockItem(
System.String key
)

Parameters

key
The item key.

Return Value

The locked item from data storage.
Exceptions
ExceptionDescription
Thrown if key is null or empty.
Thrown if this instance is disposed.
Thrown if item with specified key does not exist.
Thrown if item with specified key is locked already.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also