Show / Hide Table of Contents

Method GetTable

GetTable(Int64)

Returns a service feature table object from the ID of a layer or table in the service.

Declaration
public ServiceFeatureTable GetTable(long layerId)
Parameters
Type Name Description
System.Int64 layerId

The layer id for which to create the table

Returns
Type Description
ServiceFeatureTable

A table instance for working with the table or layer in the feature service

Remarks

If a table instance for the layer already exists in ConnectedTables, the existing object will be returned. Otherwise, a new ServiceFeatureTable will be created. If no table or layer exists in the service with the given ID, an System.ArgumentException error is thrown.

Exceptions
Type Condition
System.ArgumentException

Applies to

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