VectorLayer.ReplaceAt
VectorLayer.ReplaceAt method
替换指定索引处的 Feature。
public virtual void ReplaceAt(int index, Feature feature)
| 参数 | 类型 | 描述 |
|---|---|---|
| 索引 | Int32 | 要素的索引。 |
| 要素 | Feature | 要设置的特征。 |
异常
| 异常 | 条件 |
|---|---|
| InvalidOperationException | 当图层不可编辑时抛出。 |
| ArgumentOutOfRangeException | 索引超出范围。 |
| IOException | 发生了 I/O 错误。 |
另见
- class Feature
- class VectorLayer
- namespace Aspose.Gis
- assembly Aspose.GIS