Excel for UWP/WinRT
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。これは、通常、追加するセル範囲がコレクション内の既存のセル範囲と重なる場合です。
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

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

Send Feedback