Property UpsertedId NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll UpsertedId The _id field of the upserted document if an upsert occurred. public BsonValue UpsertedId { get; init; } Property Value BsonValue