ContentListFactory Class (PIA)
Use this object to efficiently maintain lists of content items that compete with each other to be selected for display on a Web page by a Content Selection pipeline (CSP).
Methods
Method | Description |
---|---|
BuildIndex | Builds an index on the specified column. |
ConstructFromRecordset | Initializes a ContentListFactory object, and creates and initializes a new ContentListSchema object, from an ADODB26Lib.Recordset object. The ContentListFactory object is populated with the data from the ADODB26Lib.Recordset object. |
CreateNewContentList | Creates a new ContentList object based on the schema in use by this ContentListFactory object. The new ContentList object has access to the shared data in the ContentListFactory object that created it. |
GetData | This method is not usable in Visual Basic .NET or C#. |
Search | Returns a RowCollection object containing the collection of content items that match the search criteria. |
SetData | This method is not usable in Visual Basic .NET or C#. |
Properties
Property | Type | Description |
---|---|---|
AllRows | IRowCollection | Stores the collection of all rows in the ContentListFactory object.
This property is read-only. |
Count | Integer | Stores the number of rows in the ContentListFactory object.
This property is read/write. |
Fields | ADODB26Lib.Fields | Stores the Fields collection for a particular row in the ContentListFactory object.
This property is read-only. |
Schema | IContentListSchema | Stores a reference to the ContentListSchema object used by this ContentListFactory object.
This property is read/write. |
Remarks
The ContentList and the ContentListFactory objects are designed to be run in-process with their clients. Both the ContentList object and the ContentListFactory object implement a common interface, IDataContainer. Therefore, they share the following methods and properties, which are functionally identical on both objects:
Properties:
- AllRows
- Count
- Fields
Methods:
- BuildIndex
- Search
Both objects also expose the IDataContainer interface methods GetData and SetData. These are not intended for use with C#. Use the get_Fields method instead.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Caching
Platforms: Windows 2000, Windows Server 2003
Assembly: cachecomplib (in cachecomplib.dll)
Copyright © 2005 Microsoft Corporation.
All rights reserved.