Show / Hide Table of Contents

Constructor FeatureCollectionTable

FeatureCollectionTable(IFeatureSet)

Initializes a new instance of the FeatureCollectionTable class from an IFeatureSet.

Declaration
public FeatureCollectionTable(IFeatureSet featureSet)
Parameters
Type Name Description
IFeatureSet featureSet

A IFeatureSet, for example FeatureQueryResult.

Remarks

The FeatureCollectionTable will be populated with the contents of the IFeatureSet. Note that this constructor may take some time to complete depending on how many features are in the feature set.

Applies to

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

FeatureCollectionTable(IEnumerable<Field>, GeometryType, SpatialReference)

Initializes a new instance of the FeatureCollectionTable class.

Declaration
public FeatureCollectionTable(IEnumerable<Field> fields, GeometryType geometryType, SpatialReference spatialRef)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Field> fields

A collection of Field. Contents of the collection will be copied.

GeometryType geometryType

The type of geometry that will be held in this table.

SpatialReference spatialRef

The spatial reference of the features that will be held in this table.

Applies to

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

FeatureCollectionTable(IEnumerable<Field>, GeometryType, SpatialReference, Boolean, Boolean)

Initializes a new instance of the FeatureCollectionTable class.

Declaration
public FeatureCollectionTable(IEnumerable<Field> fields, GeometryType geometryType, SpatialReference spatialRef, bool hasZ, bool hasM = false)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Field> fields

A collection of Field. Contents of the collection will be copied.

GeometryType geometryType

The type of geometry that will be held in this table.

SpatialReference spatialRef

The spatial reference of the features that will be held in this table.

System.Boolean hasZ

Boolean specifying whether the table supports geometries with Z values.

System.Boolean hasM

Boolean specifying whether the table supports geometries with M values.

Applies to

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

FeatureCollectionTable(IEnumerable<GeoElement>, IEnumerable<Field>)

Initializes a new instance of the FeatureCollectionTable class populated from the specified GeoElement collection.

Declaration
public FeatureCollectionTable(IEnumerable<GeoElement> geoElements, IEnumerable<Field> fields)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<GeoElement> geoElements

A collection of geoelements.

System.Collections.Generic.IEnumerable<Field> fields

A common set of fields for the geoelements.

Remarks

The geometry type and spatial reference will be inferred from the geoelements passed in. Note that this constructor may take some time to complete depending on how many geoelements are passed in.

Applies to

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