XmlMappedRange.Rows Property (2007 System)
Gets a Range that represents the row that contains the XmlMappedRange control.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Rows As Range
'Usage
Dim instance As XmlMappedRange
Dim value As Range
value = instance.Rows
[BrowsableAttribute(false)]
public Range Rows { get; }
[BrowsableAttribute(false)]
public:
property Range^ Rows {
Range^ get ();
}
public function get Rows () : Range
Property Value
Type: Range
A Range that represents the row that contains the XmlMappedRange control.
Examples
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 Sub AddCommentToRows()
Me.CustomerLastNameCell.Rows.AddComment( _
("This row contains " & "customer last names."))
End Sub
private void AddCommentToRows()
{
this.CustomerLastNameCell.Rows.AddComment("This row contains " +
"customer last names.");
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.