Item

VectorLayer indexer

Gets the Feature at the specified index.

public virtual Feature this[int index] { get; }
Parameter Description
index The index of the feature.

Property Value

The Feature.

Exceptions

exception condition
InvalidOperationException is thrown if layer is opened write-only.
ArgumentOutOfRangeException Index is out of range.
GisException Error reading the feature from the file.
IOException An I/O error occurred.

See Also