IUniqueValues Interface

Provides access to members that controls unique values.

Members

Name Description
Method Add Adds a value if necessary and returns its value ID.
Read-only property Count The total number of unique values.
Method Delete Deletes a value.
Method Empty Empties unique values.
Method GetHistogram The historgram of values.
Method Lookup Looks up unique index of a given value.
Read-only property Max The maximum of values.
Read-only property Min The minimum of values.
Read-only property UniqueCount The unique value count at a given index.
Read-only property UniqueValue The unique value at a given index.

IUniqueValues.Add Method

Adds a value if necessary and returns its value ID.

Public Function Add ( _
    ByVal Value As Integer, _
    ByVal Count As Integer _
) As Integer
public int Add (
    int Value,
    int Count
);

IUniqueValues.Count Property

The total number of unique values.

Public ReadOnly Property Count As Integer
public int Count {get;}

IUniqueValues.Delete Method

Deletes a value.

Public Sub Delete ( _
    ByVal Value As Integer _
)
public void Delete (
    int Value
);

IUniqueValues.Empty Method

Empties unique values.

Public Sub Empty ( _
)
public void Empty (
);

IUniqueValues.GetHistogram Method

The historgram of values.

Public Sub GetHistogram ( _
    ByRef pUniqueValues As Object, _
    ByRef pCounts As Object _
)
public void GetHistogram (
    ref object pUniqueValues,
    ref object pCounts
);

IUniqueValues.Lookup Method

Looks up unique index of a given value.

Public Function Lookup ( _
    ByVal Value As Integer _
) As Integer
public int Lookup (
    int Value
);

IUniqueValues.Max Property

The maximum of values.

Public ReadOnly Property Max As Integer
public int Max {get;}

IUniqueValues.Min Property

The minimum of values.

Public ReadOnly Property Min As Integer
public int Min {get;}

IUniqueValues.UniqueCount Property

The unique value count at a given index.

Public Function get_UniqueCount ( _
    ByVal idnex As Integer _
) As Integer
public int get_UniqueCount (
    int idnex
);

IUniqueValues.UniqueValue Property

The unique value at a given index.

Public Function get_UniqueValue ( _
    ByVal Index As Integer _
) As Object
public object get_UniqueValue (
    int Index
);

Classes that implement IUniqueValues

Classes Description
UniqueValues A raster unique value class.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close