This document is archived and information here might be outdated. Recommended version. |
Lets the extension know the feature is about to be stored.
[Visual Basic .NET] Public Sub BeforeStoreFeature ( _ ByVal feature As IFeature, _ ByVal Geometry As IGeometry _ )
[C#] public void BeforeStoreFeature ( IFeature feature, IGeometry Geometry );
The ::BeforeStoreFeature() method is the final call before the feature and its geometry are stored into the base table. Use this method to obtain the sketch geometry, modify it if necessary, and pass it back to the feature.
public void BeforeStoreFeature(ESRI.ArcGIS.Geodatabase.IFeature feature, IGeometry Geometry)
{
feature.Shape = Geometry;
}
Public Sub BeforeStoreFeature(ByVal feature As ESRI.ArcGIS.Geodatabase.IFeature, ByVal GeomeTry As IGeometry)
feature.Shape = GeomeTry
End Sub
IEditSketchExtension Interface | IDatasetEdit Interface | IDatasetEditInfo Interface | IEditSketch Interface | IEditTask.Activate Method | IEditor Interface | IEditTask.Deactivate Method | ISnapEnvironment Interface | IEditEvents2 Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | Editor Class | Editor Library | IEditTask.OnFinishSketch Method | IEditAttributeProperties Interface | IEditTask.OnDeleteSketch Method | IEditProperties Interface | IExtension Interface | IEditSketchExtension2 Interface