|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterBand Interface > IRasterBand.ComputeStatsAndHist Method (ArcObjects .NET 10.5 SDK) | 
Calculates statistics and histogram if not previously stored.
[Visual Basic .NET]
Public Sub ComputeStatsAndHist ( _
)
[C#] public void ComputeStatsAndHist ( );
[C++]
HRESULT ComputeStatsAndHist(
void
);