This document is archived and information here might be outdated. Recommended version. |
Refresh cached TIN tag values.
[Visual Basic .NET]
Public Sub RefreshTagValues ( _
)
[C#] public void RefreshTagValues ( );
[C++]
HRESULT RefreshTagValues(
void
);
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.