Rows Property
TOC
Collapse the table of content
Expand the table of content

XmlMappedRange.Rows Property

 

Gets a Range that represents the row that contains the XmlMappedRange control.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Range Rows { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range

A Range that represents the row that contains the XmlMappedRange control.

The following code example uses the Rows property to add a comment to the row of an XmlMappedRange. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.

private void AddCommentToRows()
{
    this.CustomerLastNameCell.Rows.AddComment("This row contains " +
        "customer last names.");
}
Return to top
Show:
© 2016 Microsoft