DocumentOperations.

CreateDocument(string, string, object, string, Nullable<int>) Method

Syntax

public Document CreateDocument(string database, string collection, object document, string partitionKeyPath = null, Nullable<int> throughput = null)

Parameters

Name Type Description
database string
collection string
document object
partitionKeyPath string
throughput Nullable<int>

Return Value

Type Description
Document