共用方式為


Resource.FromJson(JsonNode) Method

Definition

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IResource.

public static Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IResource FromJson (Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.Json.JsonNode node);
static member FromJson : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.Json.JsonNode -> Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IResource
Public Shared Function FromJson (node As JsonNode) As IResource

Parameters

node
JsonNode

a JsonNode to deserialize from.

Returns

an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IResource.

Applies to