Provides access to members used to handle events from converting featureclass/table.
| Description | ||
|---|---|---|
![]() |
Step | Step the progressor interval. |
| CoClasses and Classes | Description |
|---|---|
| CheckIn (esriGeoDatabaseDistributed) | Checks in changes from a check-out geodatabase or a delta database to a master geodatabase. |
| CheckInDataSynchronizer (esriGeoDatabaseDistributed) | Synchronizes changes from a check-out with the master geodatabase. |
| CheckOut (esriGeoDatabaseDistributed) | Checks out data from a master geodatabase to a check-out geodatabase. |
| DataChangesImporter (esriGeoDatabaseDistributed) | Imports edits or checks in from a delta file to a geodatabase. |
| DataExtraction (esriGeoDatabaseDistributed) | Extracts data from one geodatabase to another geodatabase. |
| DEProgressor (esriGeoDatabaseDistributedUI) | Progressor that implements disconnected editing event interfaces. |
| ExportOperation (esriGeoDatabaseUI) | ExportOperation class used to export a table or feature class. |
| FeatureDataConverter | Converts a featuredataset to a Personal Geodatabase/Geodatabase featuredataset. |
| FeatureProgressListener (esriSystemUtility) | Helper coclass to provide IFeatureProgress support to the C++ API. |
| GdbExporter (esriGeoDatabaseDistributed) | ESRI Geodatabase Exporter object. |
| GdbImporter (esriGeoDatabaseDistributed) | ESRI Geodatabase Importer object. |
| GeoDBDataTransfer | Transfers data to/from GeoDatabases. |
| ObjectLoader (esriEditorExt) | Loads data into an existing object class. |
| ReplicationAgent (esriGeoDatabaseDistributed) | A class used to perform replica operations. |
| SimpleDataConverter | Convert a set of shape files into Access or SDE. |
The IFeatureProgress interface handles events that are fired by a data conversion or object-loading process.
The various properties, other than IsCancelled, are automatically initialized when data conversion starts. However, it is important to note that you can get these values, but you cannot set them.
| Property/Method | Description |
|---|---|
| FeatureClassName | Input feature class name. |
| MinFeatures | Minimum number of features/rows in the input object class. |
| MaxFeatures | Maximum number of features/rows in the input object class. |
| Position | Current feature/row that is being converted. |
| StepValue | The number of converted features that are needed to cause the firing of the Step method. |
| Step |
The Step method is fired automatically for every x number of features, where x is the value of StepValue. You can use this event to keep a count of how many features have been converted. The IsCancelled, property is fetched by the converter after every call to Step. |
| IsCancelled | Indicates whether the cancel button is pressed. The data conversion will be cancelled if the user presses the cancel button. |
See the KB article, "HowTo: Use IFeatureProgress and IReplicaProgress properties in .NET" for more information about using this interface in .NET.
This example shows the code for a form with a command button to cancel the conversion.
Private WithEvents m_Converter As FeatureDataConverter
Private m_IsCancel As Boolean
Private Sub Form_Load()
m_IsCancel = False
End Sub
Private Sub cmdCancel_Click()
m_IsCancel = True
End Sub
Private Property Get m_Converter_IsCancelled() As Boolean
m_Converter_IsCancelled = m_IsCancel
DoEvents
End Property
Public Property Set m_FeatureProgressEvents(ByRef pFDConverter As IFeatureDataConverter)
Set m_Converter = pFDConverter
End Property
'The event handling can be initialized in the module containing the data
'converter code before starting the conversion:
Set frmCancel.m_FeatureProgressEvents = pFeatureDataConverter
frmCancel.Show vbModeless
DoEvents
See the KB article, "HowTo: Use IFeatureProgress and IReplicaProgress properties in .NET" for more information about using this interface in .NET.