Redigera

Dela via


JsonNode.GetPropertyName Method

Definition

Returns the property name of the current node from the parent object.

public:
 System::String ^ GetPropertyName();
public string GetPropertyName ();
member this.GetPropertyName : unit -> string
Public Function GetPropertyName () As String

Returns

The property name of the current node.

Exceptions

The current parent is not a JsonObject.

Applies to