Sets the value of a subset of Points in the Multipoint by copying in the specified Points, starting at a specified index, leaving all other Points unchanged.

Namespace:  ESRI.ArcGISExplorer.Geometry

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public void SetPoints(
	int firstPointIndex,
	IEnumerable<Point> points
)
Visual Basic (Declaration)
Public Sub SetPoints ( _
	firstPointIndex As Integer, _
	points As IEnumerable(Of Point) _
)

Parameters

firstPointIndex
Type: System..::.Int32

The index of the first Point to change.
points
Type: System.Collections.Generic..::.IEnumerable<(Of <(Point>)>)

A generic enumerable set of Point objects to copy in to the Multipoint. Cannot be null.

Remarks

Points before firstPointIndex are left unchanged. Points after the and after the number of points in points are left unchanged

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeExceptionThe number of points (accounting for the firstPointIndex, cannot exceed the number of existing Points in the Multipoint.
System..::.ArgumentNullExceptionThe points parameter cannot be null.
System..::.InvalidOperationExceptionThe points parameter must contain at least one Point.

See Also