VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Data Namespace / CloneableObjectStorageInMemory Class / GetItemCopy(String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetItemCopy(String) Method (CloneableObjectStorageInMemory)
    In This Topic
    Returns an item copy from the data storage.
    Syntax
    'Declaration
    
    Public Overridable Function GetItemCopy( _
    ByVal key
    The item identifier.
    As String _
    ) As Object
    public virtual object GetItemCopy(
    string key
    )
    public: virtual object* GetItemCopy(
    string* key
    )
    public:
    virtual object^ GetItemCopy(
    string^ key
    )

    Parameters

    key
    The item identifier.

    Return Value

    The copy (clone) of item data.
    Exceptions
    ExceptionDescription
    Thrown if key is null or empty.
    Thrown if this instance is disposed.
    Thrown if key is not found.
    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, 4.0, 3.5

    See Also