VectorLayer.ReplaceAt

VectorLayer.ReplaceAt method

替换指定索引处的 Feature

public virtual void ReplaceAt(int index, Feature feature)
参数类型描述
索引Int32特征的索引。
要素Feature要设置的特征。

异常

异常条件
InvalidOperationException如果图层不可编辑,则会抛出此异常。
ArgumentOutOfRangeException索引超出范围。
IOException发生 I/O 错误。

另见