Share via


RowCollection.RowNum Property (PIA)

The RowNum property is a read-only number that contains the position of the current row within the RowCollection object. Row positions begin at zero (0), not one (1).

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Caching
…
Public ReadOnly Property RowNum As Integer

[C#]

using Microsoft.CommerceServer.Interop.Caching;
…
public int RowNum {get; }

[C#]

Return Values

This property returns an int containing the position of the current row in the RowCollection object. Row positions begin at zero (0), not one (1).

Exceptions

This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

The value of this property corresponds to the current row in the RowCollection object. When the EOF property is True, indicating that the current row is set beyond the actual rows in the collection, accessing this property will result in an error.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Caching

Platforms: Windows 2000, Windows Server 2003

Assembly: cachecomplib (in cachecomplib.dll)

See Also

RowCollection Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.