Condividi tramite


IDeserializableObject.GetJsonStringPropertyValue(String) Method

Definition

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.

Applies to