Share via


ResourceResponse<TResource>.Implicit Operator

Definition

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

public static implicit operator TResource (Microsoft.Azure.Documents.Client.ResourceResponse<TResource> source);
static member op_Implicit : Microsoft.Azure.Documents.Client.ResourceResponse<'Resource (requires 'Resource :> Microsoft.Azure.Documents.Resource and 'Resource : (new : unit -> 'Resource))> -> 'Resource
Public Shared Widening Operator CType (source As ResourceResponse(Of TResource)) As TResource

Parameters

source
ResourceResponse<TResource>

The ResourceResponse source.

Returns

TResource

The resource object.

Applies to