ResourceResponse<TResource>.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET