ArcObjects Library Reference (GeoDatabase)  

IClass.OIDFieldName Property

The name of the field corresponding to the OID.

[Visual Basic .NET]
Public ReadOnly Property OIDFieldName As String
[C#]
public string OIDFieldName {get;}
[C++]
HRESULT get_OIDFieldName(
  BSTR* Name
);
[C++]

Parameters

Name [out, retval]   Name is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IClass Interface

.NET Samples

Import signposts (Code Files: ImportDynamapSignsFunction ImportMultiNetSignsFunction ImportNavStreetsSignsFunction) | Multivariate renderer (Code Files: MultivariateRenderer) |

.NET Related Topics

Creating class extensions | GeoDatabaseUI | How to create a dynamic geocoded feature class | How to create graph series with different color types |