You are here: Symbol Reference > Stimulsoft.Base.Json.Linq Namespace > JObject Class > JObject Methods > TryGetValue Method > TryGetValue Method (string, StringComparison, out JToken)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
JObject.TryGetValue Method (string, StringComparison, out JToken)

Tries to get the Newtonsoft.Json.Linq.JToken with the specified property name. The exact property name will be searched for first and if no matching property is found then the StringComparison will be used to match a property.

Syntax
C++
C#
Visual Basic
public: bool TryGetValue( string propertyName, StringComparison comparison, out JToken value );
Parameters
Parameters 
Description 
propertyName 
Name of the property. 
comparison 
One of the enumeration values that specifies how the strings will be compared. 
value 
The value. 
Returns

true if a value was successfully retrieved; otherwise, false.

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.