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


IDataSampling.SamplingMethod Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IDataSampling.SamplingMethod Property

Data sampling method.

[Visual Basic .NET]
Public Property SamplingMethod As esriDataSampling
[C#]
public esriDataSampling SamplingMethod {get; set;}
[C++]
HRESULT get_SamplingMethod(
  esriDataSampling* Method
);
[C++]
HRESULT put_SamplingMethod(
  esriDataSampling Method
);
[C++]

Parameters 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.

Remarks

esriAllRecords samples all features up to the maximum sample size

esriRandomRecords is not implemented

esriEveryNthRecord is not implemented

See Also

IDataSampling Interface