DataStatisticsClass()
Great Book,
I'm encountering the following error on pg. 249
IDataStatics dataStatistics = new DataStatisticsClass();
__________________________________________________ __________
ERROR MESSAGE:
DataStatisticsClass.DataStatisticsClass()
Esri Data Statistics object. Constructor has no input arguments.
Error:
Interop type 'ESRI.ArcGIS.Geodatabase.DataStatisticsClass' cannot be embedded. Use the applicable interface instead.
__________________________________________________ ____________
when I changed to above to:
IDataStatistics dataStatistics = new DataStatistics();
no errors and program runs.
Any suggestions?
Thanks,
Robert
|