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

    Parameters

    key
    The key of the item.

    Return Value

    True - the data storage contains an item with the specified key; false - the data storage does NOT contain an item with the specified key.
    Exceptions
    ExceptionDescription
    Thrown if key is null or empty.
    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