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


IGPCodedValueDomain.AddStringCode Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPCodedValueDomain.AddStringCode Method

Adds a (value, name) code.

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

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

Product Availability

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

See Also

IGPCodedValueDomain Interface

.NET Related Topics

Building a custom geoprocessing function tool