ArcObjects Library Reference (GeoDatabase)  

IGPCodedValueDomain2.AddCode Method

Adds a (value, name) code.

[Visual Basic .NET]
Public Sub AddCode ( _
    ByVal Value As Object, _
    ByVal Name As String _
)
[C#]
public void AddCode (
    object Value,
    string Name
);
[C++]
HRESULT AddCode(
  VARIANT Value,
  BSTR Name
);
[C++]

Parameters

Value [in]   Value is a parameter of type VARIANT Name [in]   Name is a parameter of type BSTR

Product Availability

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

See Also

IGPCodedValueDomain2 Interface