[This is preliminary documentation and is subject to change.]
Gets the session state item associated with the specified key.
Namespace:
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.