JsonObjectContains Method

Determines whether the JsonObject contains a property with the specified propertyName.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public bool Contains(
	string propertyName
)

Parameters

propertyName  String
The name of the property to locate in the JsonObject.

Return Value

Boolean
if propertyName is found in the JsonObject; otherwise, .

Exceptions

ArgumentNullExceptionpropertyName is .

See Also