Excel for UWP/WinRT
Insert メソッド (ShapeCollection)

オブジェクトを挿入する位置。
コレクションに挿入するオブジェクト。
コレクション内の特定の位置に XLShape オブジェクト を挿入します。
構文
'宣言
 
Public Overridable Function Insert( _
   ByVal index As System.Integer, _
   ByVal shape As XLShape _
) As XLShape
public virtual XLShape Insert( 
   System.int index,
   XLShape shape
)

パラメータ

index
オブジェクトを挿入する位置。
shape
コレクションに挿入するオブジェクト。

戻り値の型

オブジェクトがコレクションに正常に追加された場合は、そのオブジェクトへの参照。 オブジェクトがコレクションに追加されなかった場合は、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

参照

関連項目

ShapeCollection クラス
ShapeCollection メンバ

Send Feedback