Constructor DimensionLayer
DimensionLayer(ArcGISFeatureTable)
Initializes a new instance of the DimensionLayer class from a feature table containing dimension features.
Declaration
public DimensionLayer(ArcGISFeatureTable featureTable)
Parameters
Type | Name | Description |
---|---|---|
ArcGISFeatureTable | featureTable | The feature table, containing dimension features, used as the source of the dimension layer. |
Remarks
If the feature table does not contain dimension data then the DimensionLayer will fail to load. LayerInfo and ServiceType can be checked, to verify the feature type, before attempting to create a DimensionLayer.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.13 - 100.15 |
Xamarin.Android | 100.13 - 100.15 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 100.15 |
DimensionLayer(Item, Int64)
Initializes a new instance of the DimensionLayer class from a feature service portal item.
Declaration
public DimensionLayer(Item item, long layerId)
Parameters
Type | Name | Description |
---|---|---|
Item | item | A feature service PortalItem. |
Int64 | layerId | The layer ID for which to create the layer. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.13 - 100.15 |
Xamarin.Android | 100.13 - 100.15 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 100.15 |
DimensionLayer(Uri)
Initializes a new instance of the DimensionLayer class from a feature service URI.
Declaration
public DimensionLayer(Uri source)
Parameters
Type | Name | Description |
---|---|---|
Uri | source | The URI to the feature service layer. |
Remarks
If the specified URI is not a valid Feature Service endpoint, then it will fail to load.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.13 - 100.15 |
Xamarin.Android | 100.13 - 100.15 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 100.14 |