VintaSoft Barcode .NET SDK 15.0: Documentation for Web developer
Vintasoft.Data Namespace / StreamDataStorageOnDisk Class / UnlockItem(String,Object) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    UnlockItem(String,Object) Method (StreamDataStorageOnDisk)
    In This Topic
    Unlocks the locked stream in data storage.
    Syntax
    'Declaration
    
    Public Sub UnlockItem( _
    ByVal key
    The stream filename.
    As String, _
    ByVal item
    The stream data.
    As Object _
    )
    public void UnlockItem(
    string key,
    object item
    )
    public: void UnlockItem(
    string* key,
    object* item
    )
    public:
    void UnlockItem(
    string^ key,
    object^ item
    )

    Parameters

    key
    The stream filename.
    item
    The stream data.
    Exceptions
    ExceptionDescription
    Thrown if key is null or empty.
    Thrown if item was not previously locked.
    Remarks

    Method closes the file, which was previously opened in read-write mode and without ability to share the file.

    Requirements

    Target Platforms: .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also