Edit

Bagikan melalui


Utf8JsonWriter.CurrentDepth Property

Definition

Gets the depth of the current token.

public:
 property int CurrentDepth { int get(); };
public int CurrentDepth { get; }
member this.CurrentDepth : int
Public ReadOnly Property CurrentDepth As Integer

Property Value

The depth of the current token.

Remarks

The CurrentDepth property tracks the recursive depth of the nested objects / arrays within the JSON text written so far.

Applies to