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

IDataSampling.SamplingMethod Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataSampling Interface > IDataSampling.SamplingMethod Property
ArcGIS Developer Help

IDataSampling.SamplingMethod Property

Data sampling method.

[Visual Basic .NET]
Public Property SamplingMethod As esriDataSampling
public esriDataSampling SamplingMethod {get; set;}
HRESULT get_SamplingMethod(
  esriDataSampling* Method
HRESULT put_SamplingMethod(
  esriDataSampling Method
Method [out, retval]

Method is a parameter of type esriDataSampling* Method [in]
Method is a parameter of type esriDataSampling

Product Availability

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


esriAllRecords samples all features up to the maximum sample size

esriRandomRecords is not implemented

esriEveryNthRecord is not implemented

See Also

IDataSampling Interface