Assembly: System (in System.dll)
'Declaration Public ReadOnly Property Count As Integer 'Usage Dim instance As CookieContainer Dim value As Integer value = instance.Count
The default value of this property is DefaultCookieLimit. If equals or exceeds Capacity, one or more Cookie instances are removed from the container. Enough instances are removed to bring below Capacity as follows: if there are expired Cookie instances in scope, they are cleaned up. If not, then the least recently used CookieCollection is found and removed from the container.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.