OnImportFeatureLayerProgress

This event provides the client information regarding the import process, of either an entire layer imported (by calling IFeatureLayer.Load) or of the features returned and rendered by a call toIFeatureLayer.ExecuteSpatialQuery or IFeatureLayer. ExecuteQuery.

 

JavaScript

 

OnImportFeatureLayerProgress(

       CurrPos

       Range)

 

C#

 

bool OnImportFeatureLayerProgress (

       long CurrPos,

       long Range)

 

C++

 

HRESULT OnImportFeatureLayerProgress (

       [in] long CurrPos,

       [in] long Range,

       [out, retval] VARIANT_BOOL* pbCancelled))

Parameters

CurrPos

The portion of the entire import (represented by the Range parameter) that was already performed.

Range

The entire import process.

Return Value

pbCancelled

A Boolean that indicates whether to cancel the import process. Returning TRUE cancels the process, while FALSE lets it continue.