CookieTable<TCookie, TValue> Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.CookieTable<TCookie, TValue>
    Microsoft.Internal.VisualStudio.PlatformUI.VsUICookieTable<TValue>

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Class CookieTable(Of TCookie As {Object, IComparable(Of TCookie)}, TValue)
public class CookieTable<TCookie, TValue>
where TCookie : Object, IComparable<TCookie>
generic<typename TCookie, typename TValue>
where TCookie : Object, IComparable<TCookie>
public ref class CookieTable
type CookieTable<'TCookie, 'TValue when 'TCookie : Object and IComparable<'TCookie>> =  class end
JScript does not support generic types or methods.

Type Parameters

  • TCookie
  • TValue

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

Constructors

  Name Description
Public method CookieTable<TCookie, TValue>

Top

Properties

  Name Description
Public property Cookies
Public property IsLocked
Public property Item
Public property MaxSize
Public property PendingSize
Public property Size

Top

Methods

  Name Description
Public method Clear
Public method ContainsCookie
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method ForEach(CookieTableCallback<TCookie, TValue>)
Public method ForEach(CookieTableCallback<TCookie, TValue>, Boolean)
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
Public method Lock
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetValue
Public method Unlock

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.

See Also

Reference

Microsoft.Internal.VisualStudio.PlatformUI Namespace