Dataset.RemoveLayerAt

Dataset.RemoveLayerAt method

Removes the vector layer at specified index.

public virtual void RemoveLayerAt(int index)
ParameterTypeDescription
indexInt32Index of the layer

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionThe index is out of range.
NotSupportedExceptionLayer removing is not supported.
IOExceptionAn I/O error occurred.
GisExceptionError while removing the layer.

See Also