ObjectIdFieldName

FileGdbOptions.ObjectIdFieldName property

Name of the object ID field.

public string ObjectIdFieldName { get; set; }

Exceptions

exception condition
ArgumentException Value is not a valid field name. A valid field name must: Be not null and not emptyStart with Latin letter or underscoreContain only Latin letters, digits or underscores

Remarks

This is a creation option and it does not affect reading. Defines the name of the object ID field (column). Defaults to “OBJECTID”. If any attribute in Attributes has name equal to the value of this property, then this attribute is renamed.

See Also