VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Data Namespace / CompositeDataStorage Class / SetItem(String,Object) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetItem(String,Object) Method (CompositeDataStorage)
    In This Topic
    Sets the existing item in the data storage.
    Syntax
    'Declaration
    
    Public Sub SetItem( _
    ByVal key
    The item key.
    As String, _
    ByVal item
    The item data.
    As Object _
    )
    public void SetItem(
    string key,
    object item
    )
    public: void SetItem(
    string* key,
    object* item
    )
    public:
    void SetItem(
    string^ key,
    object^ item
    )

    Parameters

    key
    The item key.
    item
    The item data.
    Exceptions
    ExceptionDescription
    Thrown if key is null or empty.
    Thrown if this instance is disposed.
    Thrown if item with specified key is locked.
    Requirements

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

    See Also