Excel for UWP/WinRT
GetCell メソッド

行のインデックス。
列のインデックス。
指定された座標にあるセルへの参照を取得します。または、セルが存在しない場合は null を取得します。
構文
'宣言
 
Public Function GetCell( _
   ByVal rowIndex As System.Integer, _
   ByVal colIndex As System.Integer _
) As XLCell
public XLCell GetCell( 
   System.int rowIndex,
   System.int colIndex
)

パラメータ

rowIndex
行のインデックス。
colIndex
列のインデックス。

戻り値の型

指定された座標にある XLCell オブジェクトへの参照。指定された位置にセルがない場合は、null。
解説

新しいシートを挿入するには、代わりに C1XLBook.Sheets インデクサを使用します。

インデクサは、必要に応じて自動的に新しい行、列、セルを作成し、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

参照

関連項目

XLSheet クラス
XLSheet メンバ

Send Feedback