Jaa


RowCollection Object

Use this object to access data contained in a ContentList object and its corresponding ContentListFactory object. Some RowCollection objects allow access to all of the rows in these objects. Other RowCollection objects allow access to a calculated subset of the rows in these objects.

ProgID:

Dependent (See the Remarks section for more information)

COM Class Name:

RowCollection

Type Library Name:

Microsoft Commerce Server Cache Manager Type Library

DLL Name:

mscscache.dll

Threading Model:

Both

COM Interface Name:

IRowCollection

Interface ID Constant:

IID_IRowCollection

Header File:

cacheint.h

In C++, use the IRowCollection interface to access to the methods and properties of a RowCollection object.

Methods

Method

Description

MoveFirst

Sets the first row in the RowCollection object to be the current row.

MoveNext

Sets the row after the current row in the RowCollection object to be the new current row.

Properties

Property

Description

_NewEnum

Allows iteration through the rows in the RowCollection object using the Microsoft Visual Basic "for each Row in Collection" syntax.

This property is read-only.

Count

Stores the number of rows in the RowCollection object.

This property is read-only.

EOF

Tracks whether the current row is beyond the actual number of rows in the RowCollection object.

This property is read-only.

Fields

Contains the Fields collection object for the current row.

This property is read-only.

RowNum

Stores the position of the current row, starting from zero (0).

This property is read-only.

Remarks

The RowCollection object is a dependent object. Obtain a pointer to the IRowCollection interface by calling one of the following methods:

See Also

Other Resources

Targeting Objects