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 |
---|---|---|
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 ArgumentException error is thrown.
Exceptions
Type | Condition |
---|---|
ArgumentException |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.9 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.9 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.9 - 100.12 |
Xamarin.Android | 100.9 - 100.15 |
Xamarin.iOS | 100.9 - 100.15 |
UWP | 100.9 - 100.15 |