Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLCommentCollection Class / Add Method / Add(XLComment) Method
The XLComment object to add to the collection.

In This Topic
    Add(XLComment) Method
    In This Topic
    Appends an XLComment object to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal comment As XLComment _
    ) As XLComment
    public XLComment Add( 
       XLComment comment
    )

    Parameters

    comment
    The XLComment object to add to the collection.

    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