Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class ScanResult

    Inheritance
    object
    ScanResult
    Implements
    IScanResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Couchbase.KeyValue.RangeScan
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class ScanResult : IScanResult

    Properties

    | Edit this page View Source

    Cas

    Compare and Set value for optimistic locking of a document.

    Declaration
    public ulong Cas { get; }
    Property Value
    Type Description
    ulong
    | Edit this page View Source

    ExpiryTime

    The time in which the document will expire and be evicted from the cluster.

    Declaration
    public DateTime? ExpiryTime { get; }
    Property Value
    Type Description
    DateTime?
    | Edit this page View Source

    Id

    The identifier for the document.

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IdOnly

    Indicates if the scan was requested with IDs only.

    Declaration
    public bool IdOnly { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    ContentAsBytes()

    Declaration
    public byte[] ContentAsBytes()
    Returns
    Type Description
    byte[]
    | Edit this page View Source

    ContentAsString()

    Declaration
    public string ContentAsString()
    Returns
    Type Description
    string
    | Edit this page View Source

    ContentAs<T>()

    Returns the content of the scan result if IdsOnly(bool) is false.

    Declaration
    public T? ContentAs<T>()
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    The underlying document type; POCO or dynamic/object for example.

    | Edit this page View Source

    IsEmpty()

    Declaration
    public bool IsEmpty()
    Returns
    Type Description
    bool
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IScanResult
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.