Export (0) Print
Expand All

ContentListSchema Object

Commerce Server 2000
Ee824430.c++_on(en-US,CS.10).gif Ee824430.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.

PropertyTypeDescription
ColumnFlagsLongStores the column flags, represented as a bit field.

This property is read/write.

ColumnNameStringStores the column name.

This property is read/write.

ColumnTypeColumnTypeEnumStores the data type of the column.

This property is read/write.

CountLongStores the number of columns defined by the schema.

This property is read-only.

LockedBooleanIndicates 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.

MethodDescription
AddAdds a new column to the schema.
FindColumnReturns 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.
GetSchemaReturns the entire schema in a high-performance, non-scriptable manner.
SetSchemaSets the entire schema in a high-performance, non-scriptable manner.


All rights reserved.
Show:
© 2014 Microsoft