VintaSoft Barcode .NET SDK 15.0: Documentation for Web developer
Vintasoft.Data Namespace / CloneableObjectStorageInMemory Class / Contains(String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Contains(String) Method (CloneableObjectStorageInMemory)
    In This Topic
    Determines whether the data storage contains an item with the specified identifier.
    Syntax
    'Declaration
    
    Public Overridable Function Contains( _
    ByVal key
    The item identifier.
    As String _
    ) As Boolean
    public virtual bool Contains(
    string key
    )
    public: virtual bool Contains(
    string* key
    )
    public:
    virtual bool Contains(
    string^ key
    )

    Parameters

    key
    The item identifier.

    Return Value

    True - the data storage contains an item with the specified identifier; false - the data storage does NOT contain an item with the specified identifier.
    Exceptions
    ExceptionDescription
    Thrown if key is null or empty.
    Thrown if this instance is disposed.
    Requirements

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

    See Also