This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasFile Interface > ILasFile.NeedsUpdateStatistics Property (ArcObjects .NET 10.4 SDK) |
Indicates if update is necessary.
[Visual Basic .NET] Public ReadOnly Property NeedsUpdateStatistics As Boolean
[C#] public bool NeedsUpdateStatistics {get;}
[C++]
HRESULT get_NeedsUpdateStatistics(
VARIANT_BOOL* pbNeedsUpdate
);
[C++]
Parameters pbNeedsUpdate [out, retval] pbNeedsUpdate is a parameter of type VARIANT_BOOL
NeedsUpdateStatistics returns TRUE if statistics have yet to be calculated for the las file or if the statistics are outdated due to edits made on the file. Whether or not the file has been edited is determined by two things: either the las dataset knows it made an edit because it was called to do it (via a ILasPointEdit method) or the las dataset has detected the timestamp of the file has changed relative to what it was when added to the las dataset.