GetThreadedComments

GetThreadedComments(int, int)

按行列索引获取线程评论。

public ThreadedCommentCollection GetThreadedComments(int row, int column)
范围类型描述
rowInt32行索引。
columnInt32列索引。

例子


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

也可以看看


GetThreadedComments(string)

按单元格名称获取线程注释。

public ThreadedCommentCollection GetThreadedComments(string cellName)
范围类型描述
cellNameString单元格的名称。

例子


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

也可以看看