VectorLayer.Item

VectorLayer indexer

Gets the Feature at the specified index.

public virtual Feature this[int index] { get; }
ParameterDescription
indexThe index of the feature.

Property Value

The Feature.

Exceptions

exceptioncondition
InvalidOperationExceptionis thrown if layer is opened write-only.
ArgumentOutOfRangeExceptionIndex is out of range.
GisExceptionError reading the feature from the file.
IOExceptionAn I/O error occurred.

See Also