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

IEditEvents2.OnVertexAdded Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditEvents2 Interface > IEditEvents2.OnVertexAdded Event
ArcGIS Developer Help

IEditEvents2.OnVertexAdded Event

Called after a point/vertex is added to the sketch.

[Visual Basic .NET]
Public Event OnVertexAdded As OnVertexAddedEventHandler
public event OnVertexAddedEventHandler OnVertexAdded

Product Availability

Available with ArcGIS Desktop.


When IEditSketch2::VertexAdded is called, all clients listening to IEditEvents2::OnVertexAdded are notified.  This may be used to ensure the maximum number of points in a particular sketch is not exceeded, or if vertex attributes need to be set on each vertex when it is added to the edit sketch.


For more information about using the OnVertexAdded event see How to listen to edit events.

See Also

IEditEvents2 Interface