This document is archived and information here might be outdated.  Recommended version.


IGPFieldDomain.AddKeyField Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPFieldDomain.AddKeyField Method

Add key field.

[Visual Basic .NET]
Public Sub AddKeyField ( _
    ByVal Name As String _
)
[C#]
public void AddKeyField (
    string Name
);
[C++]
HRESULT AddKeyField(
  BSTR Name
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR

Product Availability

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

See Also

IGPFieldDomain Interface