Share via


AspNetRequestScopeStorageProvider.CurrentScope Property

Gets or sets the dictionary to store data in the current scope.

Namespace:  System.Web.WebPages.Scope
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Property CurrentScope As IDictionary(Of Object, Object)
    Get 
    Set
'Usage
Dim instance As AspNetRequestScopeStorageProvider 
Dim value As IDictionary(Of Object, Object)

value = instance.CurrentScope

instance.CurrentScope = value
public IDictionary<Object, Object> CurrentScope { get; set; }
public:
virtual property IDictionary<Object^, Object^>^ CurrentScope {
    IDictionary<Object^, Object^>^ get () sealed;
    void set (IDictionary<Object^, Object^>^ value) sealed;
}
abstract CurrentScope : IDictionary<Object, Object> with get, set 
override CurrentScope : IDictionary<Object, Object> with get, set
final function get CurrentScope () : IDictionary<Object, Object>
final function set CurrentScope (value : IDictionary<Object, Object>)

Property Value

Type: System.Collections.Generic.IDictionary<Object, Object>
The dictionary that stores current scope data.

Implements

IScopeStorageProvider.CurrentScope

See Also

Reference

AspNetRequestScopeStorageProvider Class

System.Web.WebPages.Scope Namespace