OpenLayerAt

Dataset.OpenLayerAt method

Opens the layer at specified index for reading.

public abstract VectorLayer OpenLayerAt(int index, DriverOptions options = null)
Parameter Type Description
index Int32 Index of the layer to open.
options DriverOptions Open options.

Return Value

The layer opened for reading.

Exceptions

exception condition
ArgumentException Options object has an incorrect type for this dataset.
ArgumentOutOfRangeException Index is out of range
ArgumentException Options object has an incorrect type for this dataset.
GisException Error reading the feature from the layer.
IOException An I/O error occurred.

See Also