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


IEditor.Parent Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor Interface > IEditor.Parent Property
ArcGIS Developer Help

IEditor.Parent Property

Reference to the parent application.

[Visual Basic .NET]
Public ReadOnly Property Parent As AppRef
[C#]
public AppRef Parent {get;}

Product Availability

Available with ArcGIS Desktop.

Description

Returns a reference to the application that created the editor.

Remarks

The Parent property provides a convenient way to get a reference to the application that created the Editor object. Edit tasks often use this property since they are only passed an IEditor reference and not an IApplication reference. For example, for an edit task to work with the Map's selection environment, the task will have to access properties belonging to IMXApplication .

See Also

IEditor Interface | IApplication Interface | IEditor.EditState Property

.NET Samples

Angle Angle shape constructor ViperPin tool