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


ITerrainEmbeddedDataSource2.GetFieldStatistics Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ITerrainEmbeddedDataSource2.GetFieldStatistics Method

Returns the statistics of the specified Terrain blob field.

[Visual Basic .NET]
Public Function GetFieldStatistics ( _
    ByVal FieldName As String _
) As ITerrainFieldStatistics
[C#]
public ITerrainFieldStatistics GetFieldStatistics (
    string FieldName
);
[C++]
HRESULT GetFieldStatistics(
  BSTR FieldName,
  ITerrainFieldStatistics** ppStatistics
);
[C++]

Parameters FieldName [in] FieldName is a parameter of type BSTR ppStatistics [out, retval]
ppStatistics is a parameter of type ITerrainFieldStatistics

Product Availability

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

Description

Returns statistics for an attribute in a feature class that's embedded in a terrain dataset.

FieldName indicates which field to return statistics for. A NULL is returned if the field doesn't exist. An empty object is returned if statistics have yet to be calculated for the field. Test for that case using ITerrainFieldStatistics.IsEmpty.

See Also

ITerrainEmbeddedDataSource2 Interface