Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLCommentCollection Class / Add Method / Add(Int32,Int32,String) Method
Index of the top row in the comment.
Index of the left column in the comment.
The author of the comment.

In This Topic
    Add(Int32,Int32,String) Method
    In This Topic
    Creates an XLComment object and appends it to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal rowIndex As Integer, _
       ByVal colIndex As Integer, _
       ByVal author As String _
    ) As XLComment

    Parameters

    rowIndex
    Index of the top row in the comment.
    colIndex
    Index of the left column in the comment.
    author
    The author of the comment.

    Return Value

    A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another comment already in the collection).
    See Also