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


ITinAdvanced.GenerateUniqueTagValue Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced.GenerateUniqueTagValue Method

Returns a new, previously unused tag value for the element.

[Visual Basic .NET]
Public Function GenerateUniqueTagValue ( _
    ByVal Type As esriTinElementType _
) As Integer
[C#]
public int GenerateUniqueTagValue (
    esriTinElementType Type
);
[C++]
HRESULT GenerateUniqueTagValue(
  esriTinElementType Type,
  long* pValue
);
[C++]

Parameters Type [in]
Type is a parameter of type esriTinElementType pValue [out, retval] pValue is a parameter of type long

Product Availability

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

Description

Returns an integer that is not already used as a tag value by the specified element type - node, triangle or edge. This can be useful in assigning unique identifiers to features that are added to the triangulation.

See Also

ITinAdvanced Interface