RowCollection Object [C++]

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 2002 Cache Manager Type Library
DLL Name:   mscscache.dll
Threading Model:   Both

[C++]

COM Interface Name:   IRowCollection
Interface ID Constant:   IID_IRowCollection
Header File:   cacheint.h, mspu_guids.h

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

Methods

[C++]

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.

[Visual Basic]

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

[C++]

Property Type Description
_NewEnum IUnknown 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 long Stores the number of rows in the RowCollection object.

This property is read-only.

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

This property is read-only.

Fields Fields Contains the Fields collection object for the current row.

This property is read-only.

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

This property is read-only.

[Visual Basic]

Property Type Description
_NewEnum IUnknown 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 long Stores the number of rows in the RowCollection object.

This property is read-only.

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

This property is read-only.

Fields Fields Contains the Fields collection object for the current row.

This property is read-only.

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

This property is read-only.

Remarks

[C++]

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

[Visual Basic]

The RowCollection object is a dependent object. Obtain a reference to it using the following properties and methods:

Copyright © 2005 Microsoft Corporation.
All rights reserved.