Partilhar via


ResourceResponse<TResource>.Implicit Operador

Definição

Retorna o recurso na resposta implicitamente do serviço do Azure Cosmos DB.

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

Parâmetros

source
ResourceResponse<TResource>

A origem ResourceResponse.

Retornos

TResource

O objeto de recurso.

Aplica-se a