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


ITinFeatureEdit.RefreshTagValues Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinFeatureEdit.RefreshTagValues Method

Refresh cached TIN tag values.

[Visual Basic .NET]
Public Sub RefreshTagValues ( _
)
[C#]
public void RefreshTagValues (
);
[C++]
HRESULT RefreshTagValues(
void
);

Product Availability

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

Description

For performance reasons complete tag statistics are not maintained while editing a TIN. Methods that use or report these statistics may return outdated results while the TIN is in edit mode. These include:

ITinAdvanced.GetUniqueTagValues
ITinAdvanced.UniqueTagValueCount
ITinAdvanced2.GetCountedUniqueTagValues

To ensure correct results you must either save the edited TIN to disk, which is relatively expensive and may be undesirable for other reasons, or call RefreshTagValues.

See Also

ITinFeatureEdit Interface