LineString.Item

LineString indexer

Gets or sets the IPoint at the specified index.

public IPoint this[int index] { get; set; }
ParameterDescription
indexThe index.

Property Value

The IPoint.

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionIndex is out of range.
ArgumentNullExceptionThe value is null.
ArgumentExceptionPoint is empty.
ArgumentExceptionSpatialReferenceSystem of this geometry and SpatialReferenceSystem of argument are both not null and don’t equal to each other.

See Also