Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Interface IPersistentSet<TValue>

    Represents an ISet<T> which is persisted to a backing store.

    Inherited Members
    ISet<TValue>.Add(TValue)
    ISet<TValue>.ExceptWith(IEnumerable<TValue>)
    ISet<TValue>.IntersectWith(IEnumerable<TValue>)
    ISet<TValue>.IsProperSubsetOf(IEnumerable<TValue>)
    ISet<TValue>.IsProperSupersetOf(IEnumerable<TValue>)
    ISet<TValue>.IsSubsetOf(IEnumerable<TValue>)
    ISet<TValue>.IsSupersetOf(IEnumerable<TValue>)
    ISet<TValue>.Overlaps(IEnumerable<TValue>)
    ISet<TValue>.SetEquals(IEnumerable<TValue>)
    ISet<TValue>.SymmetricExceptWith(IEnumerable<TValue>)
    ISet<TValue>.UnionWith(IEnumerable<TValue>)
    ICollection<TValue>.Clear()
    ICollection<TValue>.Contains(TValue)
    ICollection<TValue>.CopyTo(TValue[], int)
    ICollection<TValue>.Remove(TValue)
    ICollection<TValue>.Count
    ICollection<TValue>.IsReadOnly
    IEnumerable<TValue>.GetEnumerator()
    Namespace: Couchbase.DataStructures
    Assembly: Couchbase.NetClient.dll
    Syntax
    public interface IPersistentSet<TValue> : ISet<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable
    Type Parameters
    Name Description
    TValue

    Type of value in the set.

    Remarks

    If using a SystemTextJsonSerializer backed by a JsonSerializerContext, be sure to include ISet<T> in a JsonSerializableAttribute on the context.

    Properties

    | Edit this page View Source

    CountAsync

    Declaration
    Task<int> CountAsync { get; }
    Property Value
    Type Description
    Task<int>

    Methods

    | Edit this page View Source

    AddAsync(TValue)

    Declaration
    Task<bool> AddAsync(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    ClearAsync()

    Declaration
    Task ClearAsync()
    Returns
    Type Description
    Task
    | Edit this page View Source

    ContainsAsync(TValue)

    Declaration
    Task<bool> ContainsAsync(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    CopyToAsync(TValue[], int)

    Declaration
    Task CopyToAsync(TValue[] array, int arrayIndex)
    Parameters
    Type Name Description
    TValue[] array
    int arrayIndex
    Returns
    Type Description
    Task
    | Edit this page View Source

    ExceptWithAsync(IEnumerable<TValue>)

    Declaration
    Task ExceptWithAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task
    | Edit this page View Source

    IntersectWithAsync(IEnumerable<TValue>)

    Declaration
    Task IntersectWithAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task
    | Edit this page View Source

    IsProperSubsetOfAsync(IEnumerable<TValue>)

    Declaration
    Task<bool> IsProperSubsetOfAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    IsProperSupersetOfAsync(IEnumerable<TValue>)

    Declaration
    Task<bool> IsProperSupersetOfAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    IsSubsetOfAsync(IEnumerable<TValue>)

    Declaration
    Task<bool> IsSubsetOfAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    IsSupersetOfAsync(IEnumerable<TValue>)

    Declaration
    Task<bool> IsSupersetOfAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    OverlapsAsync(IEnumerable<TValue>)

    Declaration
    Task<bool> OverlapsAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    RemoveAsync(TValue)

    Declaration
    Task<bool> RemoveAsync(TValue item)
    Parameters
    Type Name Description
    TValue item
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    SetEqualsAsync(IEnumerable<TValue>)

    Declaration
    Task<bool> SetEqualsAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    SymmetricExceptWithAsync(IEnumerable<TValue>)

    Declaration
    Task SymmetricExceptWithAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task
    | Edit this page View Source

    UnionWithAsync(IEnumerable<TValue>)

    Declaration
    Task UnionWithAsync(IEnumerable<TValue> other)
    Parameters
    Type Name Description
    IEnumerable<TValue> other
    Returns
    Type Description
    Task
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.