[This is preliminary documentation and is subject to change.]

Tries the get value.

Namespace:  Facebook.Json.Linq
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public bool TryGetValue(
	string propertyName,
	out JToken value
)
Visual Basic (Declaration)
Public Function TryGetValue ( _
	propertyName As String, _
	<OutAttribute> ByRef value As JToken _
) As Boolean
Visual C++
public:
virtual bool TryGetValue(
	String^ propertyName, 
	[OutAttribute] JToken^% value
) sealed

Parameters

propertyName
Type: System..::.String
Name of the property.
value
Type: Facebook.Json.Linq..::.JToken %
The value.

Return Value

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

Implements

IDictionary<(Of <(TKey, TValue>)>)..::.TryGetValue(TKey, TValue%)

See Also

JObject Class
Facebook.Json.Linq Namespace