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

    Parameters

    key
    The item identifier.
    item
    The item data.
    Exceptions
    ExceptionDescription
    Thrown if key is null or empty.
    Thrown if this instance is disposed.
    Thrown if storage can't store specified item.
    Thrown if item with specified key is locked.
    Requirements

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

    See Also