## Text.ReplaceWholeText method

用指定文本替换当前节点和所有逻辑上相邻的文本节点的文本。删除所有逻辑上相邻的文本节点，包括当前节点，除非它是替换文本的接收者。

```csharp
public Text ReplaceWholeText(string content)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| content | String | 内容。 |

### 返回值

的[`Text`](../).

### 也可以看看

* class [Text](../)
* 命名空间 [Aspose.Html.Dom](../../text/)
* 部件 [Aspose.HTML](../../../)


