Show / Hide Table of Contents

Property ObjectIdFieldNames

ObjectIdFieldNames

Gets the ObjectID (OID) field names.

Declaration
public IReadOnlyList<string> ObjectIdFieldNames { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<System.String>

The ObjectID (OID) field names.

Remarks

If a single integer field is specified, map server uses the values in that field directly to uniquely identify all features and rows returned from a TableQuerySublayerSource. However, if a single string field or a group of fields is used as the unique identifier, then the server maps those unique values to an integer. If multiple fields are chosen, the values in these fields will be used as a key to generate a unique integer value. This resultant field is always called ESRI_OID unless a field of that name already exists. The value of ESRI_OID field might possibly change for each request.

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.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.