ContentList.Count Property (PIA)
The Count property is a read/write Integer that gets or sets the number of items in a ContentList object.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Caching
…
Public Property Count As Integer
[C#]
using Microsoft.CommerceServer.Interop.Caching;
…
public int Count {get; set;}
Property Value
An int that contains the item count.
Exceptions
This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Remarks
Normally, the Count property is already fixed when a ContentList object is created by a ContentListFactory object. The property may only be set for ContentList objects that are created by a ContentListFactory object that has not yet had any content items stored in it. Also, the Count property cannot be set to a number smaller than the current setting.
This property is functionally identical to the one of the same name in the ContentListFactory object.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Caching
Platforms: Windows 2000, Windows Server 2003
Assembly: cachecomplib (in cachecomplib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.