Property InsertedId

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

InsertedId

The id of the inserted document.

public BsonValue InsertedId { get; init; }

Property Value

BsonValue