## GetThreadedComments(int, int) {#getthreadedcomments}

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

```csharp
public ThreadedCommentCollection GetThreadedComments(int row, int column)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| row | Int32 | 行索引。 |
| column | Int32 | 列索引。 |

### 例子

```csharp

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

### 也可以看看

* class [ThreadedCommentCollection](../../threadedcommentcollection)
* class [CommentCollection](../../commentcollection)
* 命名空间 [Aspose.Cells](../../commentcollection)
* 部件 [Aspose.Cells](../../../)

---

## GetThreadedComments(string) {#getthreadedcomments_1}

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

```csharp
public ThreadedCommentCollection GetThreadedComments(string cellName)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| cellName | String | 单元格的名称。 |

### 例子

```csharp

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

### 也可以看看

* class [ThreadedCommentCollection](../../threadedcommentcollection)
* class [CommentCollection](../../commentcollection)
* 命名空间 [Aspose.Cells](../../commentcollection)
* 部件 [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
