Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
JObject Class
JObject Methods
Add Method
ContainsKey Method
FromObject Method
GetEnumerator Method
GetMetaObject Method
GetValue Method
Load Method
LoadAsync Method
OnPropertyChanged Method
OnPropertyChanging Method
Parse Method
Properties Method
Property Method
PropertyValues Method
Remove Method
TryGetValue Method
WriteTo Method
WriteToAsync Method
JObject
ContainsKey Method
Determines whether the JSON object has the specified property name.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
bool
ContainsKey
(
string
propertyName
)
Parameters
propertyName
Type:
System
String
Name of the property.
Return Value
Type:
Boolean
true
if the JSON object has the specified property name; otherwise,
false
.
Implements
IDictionary
TKey, TValue
ContainsKey(TKey)
See Also
Reference
JObject Class
Newtonsoft.Json.Linq Namespace
Json.NET Home