ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced.GetUniqueTagValues Method

Returns unique tag values for the specified element type.

[Visual Basic .NET]
Public Function GetUniqueTagValues ( _
    ByVal Type As esriTinElementType _
) As ILongArray
public ILongArray GetUniqueTagValues (
    esriTinElementType Type
HRESULT GetUniqueTagValues(
  esriTinElementType Type,
  ILongArray** ppValues


Type [in]

  Type is a parameter of type esriTinElementType

ppValues [out, retval]

  ppValues is a parameter of type ILongArray

Product Availability

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


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