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