IDeserializableObject.GetJsonStringPropertyValue(String) 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.
Gets the value of a property that belongs to the underlying object if formatted with JSON.
public:
System::String ^ GetJsonStringPropertyValue(System::String ^ propertyName);
public string GetJsonStringPropertyValue (string propertyName);
abstract member GetJsonStringPropertyValue : string -> string
Public Function GetJsonStringPropertyValue (propertyName As String) As String
Parameters
- propertyName
- String
The property the caller whishes to get the value from.
Returns
The value of the property if it exists.
Exceptions
If the object format is not in JSON.
If the property does not exist.