Excel for UWP
Add(Int32,Int32,Int32,Int32) メソッド

C1.UWP.Excel アセンブリ > C1.Xaml.Excel 名前空間 > XLCellRangeCollection クラス > Add メソッド : Add(Int32,Int32,Int32,Int32) メソッド
セル範囲の上端の行のインデックス。
セル範囲の左端の列のインデックス。
セル範囲内の行数。
セル範囲内の列数。
XLCellRangeオブジェクトを作成し、それをコレクションに付加します。
シンタックス
'宣言
 
Public Overloads Function Add( _
   ByVal rowIndex As System.Integer, _
   ByVal colIndex As System.Integer, _
   ByVal rowCount As System.Integer, _
   ByVal colCount As System.Integer _
) As XLCellRange
public XLCellRange Add( 
   System.int rowIndex,
   System.int colIndex,
   System.int rowCount,
   System.int colCount
)

パラメータ

rowIndex
セル範囲の上端の行のインデックス。
colIndex
セル範囲の左端の列のインデックス。
rowCount
セル範囲内の行数。
colCount
セル範囲内の列数。

戻り値の型

オブジェクトがコレクションに正しく追加された場合は、そのオブジェクトへの参照。コレクションにオブジェクトを追加できなかった場合は、null。これは、通常、追加するセル範囲がコレクション内の既存のセル範囲と重なる場合です。
参照

XLCellRangeCollection クラス
XLCellRangeCollection メンバ
オーバーロード一覧