SPScenarioContext.SessionStateContainsData Method
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function SessionStateContainsData ( _
key As String _
) As Boolean
'Usage
Dim instance As SPScenarioContext
Dim key As String
Dim returnValue As Boolean
returnValue = instance.SessionStateContainsData(key)
public bool SessionStateContainsData(
string key
)
Parameters
- key
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.