Partager via


VsUICookieTable<TValue> Members

Include Protected Members
Include Inherited Members

A cookie table using VSUICOOKIE values and traits

The VsUICookieTable<TValue> type exposes the following members.

Constructors

  Name Description
Public method VsUICookieTable<TValue>

Top

Methods

  Name Description
Public method Clear Removes all elements in the cookie table (Inherited from CookieTable<TCookie, TCookieTraits, TValue>.)
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 (Inherited from CookieTable<TCookie, TCookieTraits, TValue>.)
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 (Inherited from CookieTable<TCookie, TCookieTraits, TValue>.)
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 (Inherited from CookieTable<TCookie, TCookieTraits, TValue>.)
Public method Lock Lock the table so subsequent insert/remove operations won't affect iterators (Inherited from CookieTable<TCookie, TCookieTraits, TValue>.)
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 (Inherited from CookieTable<TCookie, TCookieTraits, TValue>.)
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 (Inherited from CookieTable<TCookie, TCookieTraits, TValue>.)
Public method Unlock Unlock the table. When the lock count goes to zero, perform all pending insert/remove/clear operations (Inherited from CookieTable<TCookie, TCookieTraits, TValue>.)

Top

Properties

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

Top

See Also

Reference

VsUICookieTable<TValue> Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace