## ExtendedAttribute.TextValue property

获取或设置“文本”类型的属性值。

```csharp
public string TextValue { get; set; }
```

### 例外

| 例外 | （健康）状况 |
| --- | --- |
| InvalidOperationException | 抛出如果[`AttributeDefinition`](../attributedefinition/)属性未初始化或当前属性不是文本属性。 |

### 也可以看看

* class [ExtendedAttribute](../)
* 命名空间 [Aspose.Tasks](../../extendedattribute/)
* 部件 [Aspose.Tasks](../../../)


