VectorLayer.ReplaceAt

VectorLayer.ReplaceAt method

Replace the Feature at the specified index.

public virtual void ReplaceAt(int index, Feature feature)
ParameterTypeDescription
indexInt32The index of the feature.
featureFeatureThe feature to set.

Exceptions

exceptioncondition
InvalidOperationExceptionis thrown if the layer is not editable.
ArgumentOutOfRangeExceptionIndex is out of range.
IOExceptionAn I/O error occurred.

See Also