Export (0) Print
Expand All

UpdatableCollection<Key, T> Members

SharePoint 2010

Represents the base class for collections with specified value type and key type.

The UpdatableCollection<Key, T> type exposes the following members.

  Name Description
Protected method UpdatableCollection<Key, T> Initializes a new instance of the UpdatableCollection<Key, T> class.

  Name Description
Public property Count Gets the number of key/value pairs contained in the collection.
Public property Item Gets the value associated with the specified key.

  Name Description
Public method Contains Determines whether the collection contains the specified key.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method ForceRefresh Resets the last time the collection was accessed to the minimum date value.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method Refresh Refreshes the values of the collection with data from the data source.
Public method ToArray Creates an array that contains the values of the collection.
Public method ToString (Inherited from Object.)

  Name Description
Protected field refreshInterval Represents the maximum interval value, in seconds, before the data in the collection is considered stale. The default value is 5 seconds.
Protected field values Represents the collection of keys and values with specified type.

  Name Description
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.
© 2015 Microsoft