Share via


MicrosoftGraphOAuth2PermissionGrant.DeserializeFromPSObject(PSObject) Method

Definition

Deserializes a PSObject into an instance of MicrosoftGraphOAuth2PermissionGrant.

public static Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphOAuth2PermissionGrant DeserializeFromPSObject (System.Management.Automation.PSObject content);
static member DeserializeFromPSObject : System.Management.Automation.PSObject -> Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphOAuth2PermissionGrant
Public Shared Function DeserializeFromPSObject (content As PSObject) As IMicrosoftGraphOAuth2PermissionGrant

Parameters

content
PSObject

The global::System.Management.Automation.PSObject content that should be used.

Returns

an instance of IMicrosoftGraphOAuth2PermissionGrant.

Applies to