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

コレクションに追加する XLShape オブジェクト。
コレクションに XLShape オブジェクトを付加します。
構文
'宣言
 
Public Function Add( _
   ByVal shape As XLShape _
) As XLShape
public XLShape Add( 
   XLShape shape
)

パラメータ

shape
コレクションに追加する XLShape オブジェクト。

戻り値の型

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