Dela via


PolicyCmdletBase.GetObjectFromParameter Method

Definition

Overloads

GetObjectFromParameter(String)
GetObjectFromParameter(String, String)

Gets a JObject from a parameter value

GetObjectFromParameter(String)

protected Newtonsoft.Json.Linq.JToken GetObjectFromParameter (string parameter);
member this.GetObjectFromParameter : string -> Newtonsoft.Json.Linq.JToken
Protected Function GetObjectFromParameter (parameter As String) As JToken

Parameters

parameter
String

Returns

Newtonsoft.Json.Linq.JToken

Applies to

GetObjectFromParameter(String, String)

Gets a JObject from a parameter value

protected Newtonsoft.Json.Linq.JObject GetObjectFromParameter (string parameter, string parameterName);
member this.GetObjectFromParameter : string * string -> Newtonsoft.Json.Linq.JObject
Protected Function GetObjectFromParameter (parameter As String, parameterName As String) As JObject

Parameters

parameter
String

The parameter value.

parameterName
String

The name of the parameter.

Returns

Newtonsoft.Json.Linq.JObject

Applies to