Freigeben über


XmlMappedRange.Row Property

Definition

Gets the number of the row that contains the XmlMappedRange control.

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

Property Value

The number of the row that contains the XmlMappedRange control.

Examples

The following code example uses the Column and Row properties to display the column and row numbers of an XmlMappedRange named CustomerLastNameCell. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.

private void DisplayColumnAndRow()
{
    MessageBox.Show("CustomerLastNameCell is in column " +
        this.CustomerLastNameCell.Column.ToString() + " and row " +
        this.CustomerLastNameCell.Row.ToString());
}
Private Sub DisplayColumnAndRow()
    MsgBox("CustomerLastNameCell is in column " & _
        Me.CustomerLastNameCell.Column.ToString() & " and row " & _
        Me.CustomerLastNameCell.Row.ToString())
End Sub

Applies to