ESRI.ArcGIS.E2API Feedback via the User Forum
TopLevelResult Property
See Also 
ESRI.ArcGIS.E2API Namespace > ResultInfo Class : TopLevelResult Property


The ultimate ancestor Result of the ChosenResult

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property TopLevelResult As Result
Visual Basic (Usage)Copy Code
Dim instance As ResultInfo
Dim value As Result
 
value = instance.TopLevelResult
C# 
public Result TopLevelResult {get;}

Return Value

The top-level Result.

Remarks

A top-level result is the result at the root of the results window; one which is shown at the top level of the results tree. As the ChosenResult may be an ancestor many levels removed from a top level result, you can use this property to determine the ultimate ancestor of the ChosenResult.

You may find this property useful when calling the TaskContext UpdateResult method after having made changes to an existing result. As updating must occur at the top level result in order to reflect those changes correctly to the results window, if you wish to update a child result, you must In addition to updating the results window, this will ensure all the information associated with that result is stored correctly in a map or result file.

Platforms

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Version Information

This property was added to the E2API at version 1.0.0.348.

See Also