TryGetValue Method (propertyName, value)

Json.NET

Json.NET - Quick Starts & API Documentation TryGetValue Method (propertyName, value)
NamespacesNewtonsoft.Json.LinqJObjectTryGetValue(String, JToken%)
Tries the get value.
Declaration Syntax
C# Visual Basic Visual C++
public bool TryGetValue(
	string propertyName,
	out JToken value
)
Public Function TryGetValue ( _
	propertyName As String, _
	<OutAttribute> ByRef value As JToken _
) As Boolean
public:
virtual bool TryGetValue(
	String^ propertyName, 
	[OutAttribute] JToken^% value
) sealed
Parameters
propertyName (String)
Name of the property.
value (JToken%)
The value.
Return Value
true if a value was successfully retrieved; otherwise, false.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)