ScopeStorageDictionary Class
Represents a collection of keys and values that are used to store data at different scope levels (local, global, and so on).
Inheritance Hierarchy
System.Object
System.Web.WebPages.Scope.ScopeStorageDictionary
Namespace: System.Web.WebPages.Scope
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Class ScopeStorageDictionary _
Implements IDictionary(Of Object, Object), _
ICollection(Of KeyValuePair(Of Object, Object)), IEnumerable(Of KeyValuePair(Of Object, Object)), _
IEnumerable
'Usage
Dim instance As ScopeStorageDictionary
public class ScopeStorageDictionary : IDictionary<Object, Object>,
ICollection<KeyValuePair<Object, Object>>, IEnumerable<KeyValuePair<Object, Object>>,
IEnumerable
public ref class ScopeStorageDictionary : IDictionary<Object^, Object^>,
ICollection<KeyValuePair<Object^, Object^>>, IEnumerable<KeyValuePair<Object^, Object^>>,
IEnumerable
type ScopeStorageDictionary =
class
interface IDictionary<Object, Object>
interface ICollection<KeyValuePair<Object, Object>>
interface IEnumerable<KeyValuePair<Object, Object>>
interface IEnumerable
end
public class ScopeStorageDictionary implements IDictionary<Object, Object>, ICollection<KeyValuePair<Object, Object>>, IEnumerable<KeyValuePair<Object, Object>>, IEnumerable
The ScopeStorageDictionary type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ScopeStorageDictionary() | Initializes a new instance of the ScopeStorageDictionary class. | |
ScopeStorageDictionary(IDictionary<Object, Object>) | Initializes a new instance of the ScopeStorageDictionary class using the specified base scope. |
Top
Properties
Name | Description | |
---|---|---|
BackingStore | Gets the dictionary that stores the ScopeStorageDictionary object data. | |
BaseScope | Gets the base scope for the ScopeStorageDictionary object. | |
Count | Gets the number of key/value pairs that are in the concatenated ScopeStorageDictionary and BaseScope objects. | |
IsReadOnly | Gets a value that indicates whether the ScopeStorageDictionary object is read-only. | |
Item | Gets or sets the element that is associated with the specified key. | |
Keys | Gets a List<T> object that contains the keys from the concatenated ScopeStorageDictionary and BaseScope objects. | |
Values | Gets a List<T> object that contains the values from the concatenated ScopeStorageDictionary and BaseScope objects. |
Top
Methods
Name | Description | |
---|---|---|
Add(KeyValuePair<Object, Object>) | Adds a key/value pair to the ScopeStorageDictionary object using the specified generic collection. | |
Add(Object, Object) | Adds the specified key and specified value to the ScopeStorageDictionary object. | |
Clear | Removes all keys and values from the concatenated ScopeStorageDictionary and BaseScope objects. | |
Contains | Returns a value that indicates whether the specified key/value pair exists in either the ScopeStorageDictionary object or in the BaseScope object. | |
ContainsKey | Returns a value that indicates whether the specified key exists in the ScopeStorageDictionary object or in the BaseScope object. | |
CopyTo | Copies all of the elements in the ScopeStorageDictionary object and the BaseScope object to an Array object, starting at the specified index. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that can be used to iterate through concatenated ScopeStorageDictionary and BaseScope objects. | |
GetHashCode | (Inherited from Object.) | |
GetItems | Returns an enumerator that can be used to iterate through the distinct elements of concatenated ScopeStorageDictionary and BaseScope objects. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(KeyValuePair<Object, Object>) | Removes the specified key/value pair from the concatenated ScopeStorageDictionary and BaseScope objects. | |
Remove(Object) | Removes the value that has the specified key from the concatenated ScopeStorageDictionary and BaseScope objects. | |
SetValue | Sets a value using the specified key in the concatenated ScopeStorageDictionary and BaseScope objects. | |
ToString | (Inherited from Object.) | |
TryGetValue | Gets the value that is associated with the specified key from the concatenated ScopeStorageDictionary and BaseScope objects. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Returns an enumerator for the concatenated ScopeStorageDictionary and BaseScope objects. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.