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


IGPCodedValueDomain.AddCode Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPCodedValueDomain Interface > IGPCodedValueDomain.AddCode Method
ArcGIS Developer Help

IGPCodedValueDomain.AddCode Method

Adds a (value, name) code.

[Visual Basic .NET]
Public Sub AddCode ( _
    ByVal Value As IGPValue, _
    ByVal Name As String _
)
[C#]
public void AddCode (
    IGPValue Value,
    string Name
);
[C++]
HRESULT AddCode(
  IGPValue* Value,
  BSTR Name
);
[C++]
Parameters
Value [in]

Value is a parameter of type IGPValue* Name [in]
Name is a parameter of type BSTR

Product Availability

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

See Also

IGPCodedValueDomain Interface