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


ITinAdvanced.GetUniqueTagValues Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced Interface > ITinAdvanced.GetUniqueTagValues Method
ArcGIS Developer Help

ITinAdvanced.GetUniqueTagValues Method

Returns unique tag values for the specified element type.

[Visual Basic .NET]
Public Function GetUniqueTagValues ( _
    ByVal Type As esriTinElementType _
) As ILongArray
[C#]
public ILongArray GetUniqueTagValues (
    esriTinElementType Type
);
[C++]
HRESULT GetUniqueTagValues(
  esriTinElementType Type
);
[C++]
Parameters
Type [in]

Type is a parameter of type esriTinElementType

Product Availability

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

Description

Returns an array of integers containing all the tag values used for the given element type - node, edge, or triangle.

The array can potentially be as large as the number of elements. It's a good idea to check how many unique values there are using UniqueTagValueCount before executing this function.

The returned tag values will be sorted in ascending order if the TIN has been created by, or saved/copied by the 8.1 version of this software or later. The tag values might otherwise not be sorted.

The arrays will be set to Null ('Nothing' in VB) if the TIN has no tags related to the specified element type.

See Also

ITinAdvanced Interface