CommentCollection.GetThreadedComments

GetThreadedComments(int, int)

Gets the threaded comments by row and column index.

public ThreadedCommentCollection GetThreadedComments(int row, int column)
ParameterTypeDescription
rowInt32The row index.
columnInt32The column index.

Examples


[C#]
ThreadedCommentCollection threadedComments1 = comments.GetThreadedComments(1, 1);
for (int i = 0; i < threadedComments1.Count; ++i)
{
    ThreadedComment tc = threadedComments1[i];
    string note = tc.Notes;
}

See Also


GetThreadedComments(string)

Gets the threaded comments by cell name.

public ThreadedCommentCollection GetThreadedComments(string cellName)
ParameterTypeDescription
cellNameStringThe name of the cell.

Examples


[C#]
ThreadedCommentCollection threadedComments2 = comments.GetThreadedComments("B2");
for (int i = 0; i < threadedComments2.Count; ++i)
{
    ThreadedComment tc = threadedComments2[i];
    string note = tc.Notes;
}

See Also