XLComment オブジェクトを作成し、それをコレクションに付加します。
'宣言
Public Overloads Function Add( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.String, _
ByVal As System.String _
) As XLComment
public XLComment Add(
System.int ,
System.int ,
System.string ,
System.string
)
パラメータ
- rowIndex
- コメントの上端の行のインデックス。
- colIndex
- コメントの左端の列のインデックス。
- author
- コメントの作成者。
- text
- コメントのテキスト。
戻り値の型
オブジェクトがコレクションに正常に追加された場合は、そのオブジェクトへの参照。 オブジェクトがコレクションに追加されなかった場合は、null(通常は、 追加するコメントがコレクション内の既存のコメントと重なることが原因です)。
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