ESRI.ArcGIS.E2API Feedback via the User Forum
ResultManager Class
See Also  Members   Example 
ESRI.ArcGIS.E2API Namespace : ResultManager Class


Represents the Results shown in the ArcGIS Explorer Results window.

Syntax

Visual Basic (Declaration) 
<ComVisibleAttribute(False)>
Public NotInheritable Class ResultManager 
Visual Basic (Usage)Copy Code
Dim instance As ResultManager
C# 
[ComVisibleAttribute(false)]
public sealed class ResultManager 

Example

An example of using the ResultManager to iterate the child results of a top level result.
C#Copy Code
ESRI.ArcGIS.E2API.ResultManager MyResultManager = _taskUI.E2.ResultManager; 
int i = 0; 
while (i != MyResultManager.Count) 

  Result="" MyTopLevelResult = ""MyResultManager.GetTopLevelResult(i""); 
  System.Diagnostics.Debug.WriteLine(MyTopLevelResult.Title=""); 
 
  //Iterate Children 
  int c = 0; 
  while ( c != MyTopLevelResult.ChildResultCount) 
  { 
    Result MyChildResult = MyTopLevelResult.GetChildResult(c); 
    System.Diagnostics.Debug.WriteLine(MyChildResult.Title); 
    c++; 
  } 
 
i++; 
}
Visual BasicCopy Code
Dim MyResultManager As ESRI.ArcGIS.E2API.ResultManager = _taskUI.E2.ResultManager
Dim i As Integer = 0
While i != MyResultManager.Count
  Result="" MyTopLevelResult = ""MyResultManager.GetTopLevelResult(i"")
  System.Diagnostics.Debug.WriteLine(MyTopLevelResult.Title="")

  'Iterate Children
  Dim c As Integer = 0
  While c != MyTopLevelResult.ChildResultCount
    Dim MyChildResult As Result = MyTopLevelResult.GetChildResult(c)
    System.Diagnostics.Debug.WriteLine(MyChildResult.Title)
    c = c + 1
  End While

i = i + 1
End While

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.E2API.ResultManager

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 class was added to the E2API at version 1.0.0.348.

See Also