NativeExcel for .Net Developer's Reference

IRange.EntireRow Property

Returns an IRangeRows interface that represents the entire row (or rows) that contains the specified range.

[Visual Basic]
PropertyReadOnlyEntireRowAsIRangeRows
[C#]
IRangeRowsEntireRow{get;}
[C++]
__propertyIRangeRows*get_EntireRow();
[JScript]
functiongetEntireRow():IRangeRows

Property Value

IRangeRows interface.

Example

This example sets the value of the first cell in the first row that contains the selected range.

[C#]
 book.Worksheets[1].Selection.EntireRow[1, 1].Value = 10;
[VisualBasic]
 book.Worksheets(1).Selection.EntireRow(1, 1).Value = 10
[C++]
 book->Worksheets->Item[1]->Selection->EntireRow->Item[1, 1]->Value = 10;

See Also

IRange Interface | NativeExcel Namespace | Selection Property | EntireColumn Property | IRangeRows Interface