Share via


SPScenarioContext.SessionStateContainsData method

Determines if the specified key is contained in the scenario context's session state.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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

Return value

Type: System.Boolean
Returns Boolean.

See also

Reference

SPScenarioContext class

SPScenarioContext members

Microsoft.SharePoint.Administration namespace