Provides access to members used to handle events from converting featureclass/table.
Members
Name | Description | |
---|---|---|
FeatureClassName | Input feature class name. | |
IsCancelled | Indicates whether the cancel button is pressed. The data conversion will be cancelled if the user press the cancel button. | |
MaxFeatures | Maximum number of features/rows in the input object class. | |
MinFeatures | Minimum number of features/rows in the input objectclass. | |
Position | Current feature/row that currently converted by the converter. | |
Step | Step the progressor interval. | |
StepValue | Current position of conversion. |
IFeatureProgress.FeatureClassName Property
Input feature class name.
Public WriteOnly Property FeatureClassName
public void FeatureClassName {set;}
IFeatureProgress.IsCancelled Property
Indicates whether the cancel button is pressed. The data conversion will be cancelled if the user press the cancel button.
Public ReadOnly Property IsCancelled As Boolean
public bool IsCancelled {get;}
Remarks
The IsCancelled, property is fetched by the converter after every call to Step.
IFeatureProgress.MaxFeatures Property
Maximum number of features/rows in the input object class.
Public WriteOnly Property MaxFeatures
public void MaxFeatures {set;}
IFeatureProgress.MinFeatures Property
Minimum number of features/rows in the input objectclass.
Public WriteOnly Property MinFeatures
public void MinFeatures {set;}
IFeatureProgress.Position Property
Current feature/row that currently converted by the converter.
Public WriteOnly Property Position
public void Position {set;}
IFeatureProgress.Step Event
Step the progressor interval.
Public Event Step As StepEventHandler
public event StepEventHandler Step
Remarks
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.
IFeatureProgress.StepValue Property
Current position of conversion.
Public WriteOnly Property StepValue
public void StepValue {set;}
Classes that implement IFeatureProgress
Classes | Description |
---|---|
FeatureDataConverter | Converts a featuredataset to a Personal Geodatabase/Geodatabase featuredataset. |
GeoDBDataTransfer | Transfers data to/from GeoDatabases. |
SimpleDataConverter | Convert a set of shape files into Access or SDE. |
Remarks
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 becancelled 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.
See the KB article, "HowTo: Use IFeatureProgress and IReplicaProgress properties in .NET" for more information about using this interface in .NET.