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

Gets the session state item associated with the specified key.

Namespace:  Facebook.Web
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

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

Parameters

key
Type: System..::.String
The key used to reference the session state item.
value
Type: System..::.Object %
When this method returns, the session state item associated with the specified key if the key is found; otherwise, null.

Return Value

true if a session state item associated with the specified key is found; otherwise, false.

Implements

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

See Also

FacebookHttpSession Class
Facebook.Web Namespace