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


IUniqueValues.Add Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IUniqueValues.Add Method

Adds a value if necessary and returns its value ID.

[Visual Basic .NET]
Public Function Add ( _
    ByVal Value As Integer, _
    ByVal Count As Integer _
) As Integer
[C#]
public int Add (
    int Value,
    int Count
);
[C++]
HRESULT Add(
  long Value,
  long Count,
  long* index
);
[C++]

Parameters Value [in] Value is a parameter of type long Count [in] Count is a parameter of type long index [out, retval] index is a parameter of type long

Product Availability

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

See Also

IUniqueValues Interface