PolicyCmdletBase.GetObjectFromParameter Method
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.
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