[]
Appends an XLComment object to the collection.
public XLComment Add(XLComment comment)
Public Function Add(comment As XLComment) As XLComment
| Type | Name | Description |
|---|---|---|
| XLComment | comment | The XLComment object to add to the collection. |
| Type | Description |
|---|---|
| XLComment | 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). |
Creates an XLComment object and appends it to the collection.
public XLComment Add(int rowIndex, int colIndex, string author)
Public Function Add(rowIndex As Integer, colIndex As Integer, author As String) As XLComment
| Type | Name | Description |
|---|---|---|
| int | rowIndex | Index of the top row in the comment. |
| int | colIndex | Index of the left column in the comment. |
| string | author | The author of the comment. |
| Type | Description |
|---|---|
| XLComment | 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). |
Creates an XLComment object and appends it to the collection.
public XLComment Add(int rowIndex, int colIndex, string author, string text)
Public Function Add(rowIndex As Integer, colIndex As Integer, author As String, text As String) As XLComment
| Type | Name | Description |
|---|---|---|
| int | rowIndex | Index of the top row in the comment. |
| int | colIndex | Index of the left column in the comment. |
| string | author | The author of the comment. |
| string | text | The context of the comment. |
| Type | Description |
|---|---|
| XLComment | 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). |
Creates an XLComment object and appends it to the collection.
public XLComment Add(int rowIndex, int colIndex, string author, string text, bool toRtf)
Public Function Add(rowIndex As Integer, colIndex As Integer, author As String, text As String, toRtf As Boolean) As XLComment
| Type | Name | Description |
|---|---|---|
| int | rowIndex | Index of the top row in the comment. |
| int | colIndex | Index of the left column in the comment. |
| string | author | The author of the comment. |
| string | text | The text of the comment. |
| bool | toRtf | Flag indicating whether to convert |
| Type | Description |
|---|---|
| XLComment | 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). |