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

In This Topic
    Position Property
    In This Topic
    Gets or sets the index of the current item in the underlying list.
    Syntax
    'Declaration
     
    Public Shadows Property Position As Integer
    public new int Position {get; set;}

    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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also