Partager via


UpdatableCollection<Key, T> Members

Include Protected Members
Include Inherited Members

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

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

Constructors

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

Top

Properties

  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.

Top

Methods

  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.)

Top

Fields

  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.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.

Top

See Also

Reference

UpdatableCollection<Key, T> Class

Microsoft.Office.Server.Search.Administration Namespace