Show / Hide Table of Contents

Method CopyTo

CopyTo(MapPoint[], int)

Copies a collection of coordinates from this instance.

Declaration
public void CopyTo(MapPoint[] array, int arrayIndex)
Parameters
Type Name Description
MapPoint[] array

The array to copy.

int arrayIndex

Index to start copying the coordinates into.

Implements
ICollection<T>.CopyTo(T[], int)
Exceptions
Type Condition
ArgumentNullException

Array cannot be null.

ArgumentOutOfRangeException

Index cannot be less than 0.

ArgumentException

Destination array is not large enough.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.