VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Data Namespace / CloneableObjectStorageInMemory Class / DeleteItem(String) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    DeleteItem(String) Method (CloneableObjectStorageInMemory)
    In This Topic
    Deletes the item from the data storage.
    Syntax
    'Declaration
    
    Public Overridable Sub DeleteItem( _
    ByVal key
    The item identifier.
    As System.String _
    )
    public virtual void DeleteItem(
    System.String key
    )
    public: virtual void DeleteItem(
    System.String key
    )
    public:
    virtual void DeleteItem(
    System.String key
    )

    Parameters

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

    This method invokes the System.IDisposable.Dispose of the removed object if removed object implements the System.IDisposable interface.

    Requirements

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

    See Also