Show / Hide Table of Contents

Constructor Part

Part(SpatialReference)

Initializes a new instance of the Part class with a specified spatial reference.

Declaration
public Part(SpatialReference spatialReference)
Parameters
Type Name Description
SpatialReference spatialReference

A spatial reference object, can be null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Part(IEnumerable<MapPoint>, SpatialReference)

Initializes a new instance of the Part class. The spatial reference is checked against the input points and it is also used if the inputs have a null SpatialReference

Declaration
public Part(IEnumerable<MapPoint> points, SpatialReference spatialReference = null)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<MapPoint> points

Populates with the supplied points

SpatialReference spatialReference

A spatial reference for the input points

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Part(IEnumerable<Segment>, SpatialReference)

Initializes a new instance of the Part class. The spatial reference is checked against the input points and it is also used if the inputs have a null SpatialReference

Declaration
public Part(IEnumerable<Segment> segments, SpatialReference spatialReference = null)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Segment> segments

Populates with the supplied segments

SpatialReference spatialReference

A spatial reference for the input segments

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.