次の方法で共有


CookieTable<TCookie, TValue> Class

Inheritance Hierarchy

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

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

Syntax

'宣言
Public Class CookieTable(Of TCookie As {Object, IComparable(Of TCookie)}, TValue)
public class CookieTable<TCookie, TValue>
where TCookie : Object, IComparable<TCookie>

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