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

    Parameters

    key
    The item key.

    Return Value

    True if data storage contains this item;
    false if data storage not contains this item.
    Exceptions
    ExceptionDescription
    Thrown if key is null or empty.
    Thrown if this instance is disposed.
    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