CommentCollection.Item

CommentCollection indexer (1 of 3)

Gets the Comment element at the specified index.

public Comment this[int index] { get; }
ParameterDescription
indexThe zero based index of the element.

Return Value

The element at the specified index.

Examples


[C#]
Comment comment3 = comments[0];
comment3.Note = "Three note.";

See Also


CommentCollection indexer (2 of 3)

Gets the Comment element at the specified cell.

public Comment this[string cellName] { get; }
ParameterDescription
cellNameCell name.

Return Value

The element at the specified cell.

Examples


[C#]
Comment comment4 = comments["B2"];
comment4.Note = "Four note.";

See Also


CommentCollection indexer (3 of 3)

Gets the Comment element at the specified row index and column index.

public Comment this[int row, int column] { get; }
ParameterDescription
rowRow index.
columnColumn index.

Return Value

The element at the specified cell.

Examples


[C#]
Comment comment5 = comments[1,1];
comment5.Note = "Five note.";

See Also