Op Englesch liesen Editéieren

Deelen iwwer


JsonNode.GetPropertyName Method

Definition

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

C#
public string GetPropertyName();

Returns

The property name of the current node.

Exceptions

The current parent is not a JsonObject.

Applies to

Produkt Versiounen
.NET 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)