Aspose::Cells::CommentCollection::Get method
Contents
[
Hide
]CommentCollection::Get(int32_t) method
Gets the Comment element at the specified index.
Comment Aspose::Cells::CommentCollection::Get(int32_t index)
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero based index of the element. |
ReturnValue
The element at the specified index.
Examples
Comment comment3 = comments.Get(0);
comment3.SetNote(u"Three note.");
See Also
- Class Comment
- Class Vector
- Class CommentCollection
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
CommentCollection::Get(const U16String&) method
Gets the Comment element at the specified cell.
Comment Aspose::Cells::CommentCollection::Get(const U16String &cellName)
Parameter | Type | Description |
---|---|---|
cellName | const U16String& | Cell name. |
ReturnValue
The element at the specified cell.
Examples
U16String val = u"B2";
Comment comment4 = comments.Get(val);
comment4.SetNote(u"Four note.");
See Also
- Class Comment
- Class Vector
- Class U16String
- Class CommentCollection
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
CommentCollection::Get(const char16_t*) method
Gets the Comment element at the specified cell.
Comment Aspose::Cells::CommentCollection::Get(const char16_t *cellName)
Parameter | Type | Description |
---|---|---|
cellName | const char16_t* | Cell name. |
ReturnValue
The element at the specified cell.
Examples
Comment comment4 = comments.Get(u"B2");
comment4.SetNote(u"Four note.");
See Also
- Class Comment
- Class Vector
- Class CommentCollection
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
CommentCollection::Get(int32_t, int32_t) method
Gets the Comment element at the specified row index and column index.
Comment Aspose::Cells::CommentCollection::Get(int32_t row, int32_t column)
Parameter | Type | Description |
---|---|---|
row | int32_t | Row index. |
column | int32_t | Column index. |
ReturnValue
The element at the specified cell.
Examples
Comment comment5 = comments.Get(1, 1);
comment5.SetNote(u"Five note.");
See Also
- Class Comment
- Class Vector
- Class CommentCollection
- Namespace Aspose::Cells
- Library Aspose.Cells for C++