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


IEditor.Parent Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

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

ViperPin tool (Code Files: ViperPinForm) | Angle Angle shape constructor (Code Files: AngleAngleCstr)