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

コメントの上端の行のインデックス。
コメントの左端の列のインデックス。
コメントの作成者。
XLComment オブジェクトを作成し、それをコレクションに付加します。
構文
'宣言
 
Public Overloads Function Add( _
   ByVal rowIndex As System.Integer, _
   ByVal colIndex As System.Integer, _
   ByVal author As System.String _
) As XLComment
public XLComment Add( 
   System.int rowIndex,
   System.int colIndex,
   System.string author
)

パラメータ

rowIndex
コメントの上端の行のインデックス。
colIndex
コメントの左端の列のインデックス。
author
コメントの作成者。

戻り値の型

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

参照

関連項目

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

Send Feedback