Sdílet prostřednictvím


DocumentResponse<TDocument>.Implicit Operator

Definition

Returns the document in the response implicitly from the Azure Cosmos DB service.

public static implicit operator TDocument (Microsoft.Azure.Documents.Client.DocumentResponse<TDocument> source);
static member op_Implicit : Microsoft.Azure.Documents.Client.DocumentResponse<'Document> -> 'Document
Public Shared Widening Operator CType (source As DocumentResponse(Of TDocument)) As TDocument

Parameters

source
DocumentResponse<TDocument>

The DocumentResponse source.

Returns

TDocument

The document object.

Applies to