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
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.9 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.9 - 200.8 | 
| Xamarin.Android | 100.9 - 100.15 | 
| Xamarin.iOS | 100.9 - 100.15 | 
| UWP | 100.9 - 200.8 |