Item

CommentCollection indexer (1 of 3)

FårComment element vid angivet index.

public Comment this[int index] { get; }
ParameterBeskrivning
indexElementets nollbaserade index.

Returvärde

Elementet vid det angivna indexet.

Exempel


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

Se även


CommentCollection indexer (2 of 3)

FårComment element i den angivna cellen.

public Comment this[string cellName] { get; }
ParameterBeskrivning
cellNameCellnamn.

Returvärde

Elementet i den angivna cellen.

Exempel


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

Se även


CommentCollection indexer (3 of 3)

FårComment element vid angivet radindex och kolumnindex.

public Comment this[int row, int column] { get; }
ParameterBeskrivning
rowRadindex.
columnKolumnindex.

Returvärde

Elementet i den angivna cellen.

Exempel


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

Se även