Share via


IGridItemProvider.Row 屬性

定義

取得包含儲存格或項目之資料列的序號。

public:
 property int Row { int get(); };
public int Row { get; }
member this.Row : int
Public ReadOnly Property Row As Integer

屬性值

以零起始的序號,識別包含儲存格或項目的資料列。

範例

下列範例程式碼會傳回 屬性,該屬性儲存在內部變數中。

int IGridItemProvider.Row
{
    get 
    {
        return ItemRow;
    }
}
Private ReadOnly Property Row() As Integer Implements IGridItemProvider.Row
    Get
        Return ItemRow
    End Get
End Property

適用於

另請參閱