Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Interface IDocumentFragment<TDocument>

    Represents one more fragments of a document that is returned by the sub-document API.

    Inherited Members
    IOperationResult<TDocument>.Content
    IDocumentFragment.Content<TContent>(string)
    IDocumentFragment.Content<TContent>(int)
    IDocumentFragment.Content(string)
    IDocumentFragment.Content(int)
    IDocumentFragment.Exists(string)
    IDocumentFragment.Count()
    IDocumentFragment.OpStatus(string)
    IDocumentFragment.OpStatus(int)
    IOperationResult.Token
    IOperationResult.Cas
    IOperationResult.Status
    IOperationResult.Durability
    IOperationResult.IsNmv()
    IOperationResult.Id
    IOperationResult.OpCode
    IResult.Success
    IResult.Message
    IResult.Exception
    IResult.ShouldRetry()
    Namespace: Couchbase.Core.IO.Operations.SubDocument
    Assembly: Couchbase.NetClient.dll
    Syntax
    [Obsolete("This interface is not required and will be removed in a future release.")]
    public interface IDocumentFragment<out TDocument> : IOperationResult<TDocument>, IDocumentFragment, IOperationResult, IResult
    Type Parameters
    Name Description
    TDocument

    The document

    Properties

    | Edit this page View Source

    Expiry

    The time-to-live or TTL for the document before it's evicted from disk in milliseconds.

    Declaration
    uint Expiry { get; set; }
    Property Value
    Type Description
    uint
    Remarks

    Setting this to zero or less will give the document infinite lifetime

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