ReplaceAt

VectorLayer.ReplaceAt method

Replace the Feature at the specified index.

public virtual void ReplaceAt(int index, Feature feature)
Parameter Type Description
index Int32 The index of the feature.
feature Feature The feature to set.

Exceptions

exception condition
InvalidOperationException is thrown if the layer is not editable.
ArgumentOutOfRangeException Index is out of range.
IOException An I/O error occurred.

See Also