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


IUniqueStringValues2.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IU > IUniqueStringValues2 Interface > IUniqueStringValues2.Add Method
ArcGIS Developer Help

IUniqueStringValues2.Add Method

Adds a value if necessary and returns its value ID.

[Visual Basic .NET]
Public Function Add ( _
    ByVal Value As String, _
    ByVal Count As Double _
) As Integer
[C#]
public int Add (
    string Value,
    double Count
);
[C++]
HRESULT Add(
  BSTR Value,
  double Count
);
[C++]
Parameters
Value [in]

Value is a parameter of type BSTR Count [in]
Count is a parameter of type double

Product Availability

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

See Also

IUniqueStringValues2 Interface