VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.Data Namespace / StreamDataStorage Class / UnlockItem(String,Object) Method
Синтаксис Exceptions Ремарки Требования Смотрите также
В этом разделе
    UnlockItem(String,Object) Метод (StreamDataStorage)
    В этом разделе
    Unlocks the locked stream in data storage.
    Синтаксис
    'Declaration
    
    Public Sub UnlockItem( _
    ByVal key
    The stream filename or file URL.
    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 or file URL.
    item
    The stream data.
    Исключения
    ИсключениеОписание
    Thrown if key is null or empty.
    Thrown if item was not previously locked.
    Ремарки

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

    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также