Share via


StaticScopeStorageProvider.CurrentScope Property

Gets or sets a dictionary that stores current data under a static context.

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 StaticScopeStorageProvider 
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 provides current scoped data.

Implements

IScopeStorageProvider.CurrentScope

See Also

Reference

StaticScopeStorageProvider Class

System.Web.WebPages.Scope Namespace