JsonElement.GetPropertyCount 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 number of properties contained within the current object value.
public:
int GetPropertyCount();
public int GetPropertyCount();
member this.GetPropertyCount : unit -> int
Public Function GetPropertyCount () As Integer
Returns
The number of properties contained within the current object value.
Exceptions
The parent JsonDocument has been disposed.