ContentListSchema Object

Ee824430.c++_on(en-US,CS.10).gifEe824430.vb_off(en-US,CS.10).gif

Use this object to manipulate the schema for a ContentListFactory object.

ProgID:   Commerce.ContentListSchema (Externally creatable)
COM Class Name:   ContentListSchema
Type Library Name:   Microsoft Commerce 2000 Cache Manager Type Library
DLL Name:   mscscache.dll
Threading Model:   Both

The properties of the ContentListSchema object are shown in the following table.

Property Type Description
ColumnFlags Long 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 Long 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.

The methods of the ContentListSchema object are shown in the following table.

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.


All rights reserved.