CookieTable<TCookie, TCookieTraits, TValue> Members

Include Protected Members
Include Inherited Members

The CookieTable<TCookie, TCookieTraits, TValue> type exposes the following members.

Constructors

  Name Description
Public method CookieTable<TCookie, TCookieTraits, TValue> Constructor, initialize the current cookie

Top

Methods

  Name Description
Public method Clear Removes all elements in the cookie table
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method ForEach(CookieTableCallback<TCookie, TValue>) Execute the specified callback for each of the remaining elements in the cookie table
Public method ForEach(CookieTableCallback<TCookie, TValue>, Boolean) Execute the specified callback for each of the elements in the cookie table, allows to call back even for elements that are removed during the iteration
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Insert Insert a new element in the cookie table
Public method Lock Lock the table so subsequent insert/remove operations won't affect iterators
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Remove the value identified by the specified cookie from the table
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method TryGetValue Checks whether the specified cookie is still in the table and returns the associated value
Public method Unlock Unlock the table. When the lock count goes to zero, perform all pending insert/remove/clear operations

Top

Properties

  Name Description
Public property IsLocked Returns whether the table is currently locked for pending modifications
Public property MaxSize Returns the maximum size of the cookie table, as given by the cookie traits
Public property PendingSize Returns the size of the coookie table, including pending modifications
Public property Size Returns the size of the cookie table (if locked, return the size at the time the table was locked)

Top

See Also

Reference

CookieTable<TCookie, TCookieTraits, TValue> Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace