dotConnect for PostgreSQL Documentation
Devart.Data Namespace / DataLink Class / Position Property

In This Topic
Position Property (DataLink)
In This Topic
Gets or sets the index of the current item in the underlying list.
Syntax
'Declaration
 
Public Shadows Property Position As Integer
 

Property Value

The zero-based index of the current item in the underlying list.
Remarks

When setting the Position property, out-of-range values are treated in the following manner:

  • Negative values are treated as 0.
  • Values greater than or equal to Count are treated as Count minus 1.

Changing the Position property will correspondingly change the CurrentRow property.

See Also