ContentListSchema Class (PIA)
Use this object to manipulate the schema for a ContentListFactory object.
Methods
Method | Description |
---|---|
Add | Adds a new column to the schema. |
FindColumn | Returns the position of a named column. Column positions are counted starting from zero (0), not one (1). This position index may be used as the Column index parameter for the GetData, SetData, Filter, and Search methods of the ContentList object. |
GetSchema | Returns the entire schema in a high-performance, non-scriptable manner. |
SetSchema | Sets the entire schema in a high-performance, non-scriptable manner. |
Properties
Property | Type | Description |
---|---|---|
ColumnFlags | Integer | Stores the column flags, represented as a bit field.
This property is read/write. |
ColumnName | String | Stores the column name.
This property is read/write. |
ColumnType | ColumnTypeEnum | Stores the data type of the column.
This property is read/write. |
Count | Integer | Stores the number of columns defined by the schema.
This property is read-only. |
Locked | Boolean | Indicates whether this schema can be modified.
This property is read/write. It is initially set to False. Once set to True, it can never be set back to False. |
Requirements
Namespace: Microsoft.CommerceServer.Interop.Caching
Platforms: Windows 2000, Windows Server 2003
Assembly: cachecomplib (in cachecomplib.dll)
Remarks
The object ContentListSchema exposes the methods GetSchema and SetSchema. However, these are not intended to be used with C#.
Copyright © 2005 Microsoft Corporation.
All rights reserved.