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 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

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
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 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.14

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
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 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.14
In This Article
Back to top Copyright © 2022 Esri.