ArcObjects Library Reference (Editor)  

INotifyZFinalize.Failed Method

Callback is called when Z Capture fails, allows client an opportunity to set a custom Z.

[Visual Basic .NET]
Public Function Failed ( _
    ByVal Geometry As IGeometry _
) As Boolean
[C#]
public bool Failed (
    IGeometry Geometry
);

Product Availability

Available with ArcGIS Desktop.

Remarks

When a point is added to the sketch, if the result is non-simple then the Failed method of the class implementing INotifyZFinalize and hooked into IEditProperties4::NotifyZFinalize is given an opportunity to manipulate the Z values.  If the client implementing this interface alters the geometry, they should return TRUE; if the value returned is FALSE then any changes made to the geometry in this method will be discarded. 

See Also

INotifyZFinalize Interface