ArcGIS Developer Help  (EditorExt)    

ITraceTasks Example

[Visual Basic 6.0]

This example demonstrates how to obtain a reference to the ITraceTasks interface.

'g_pApplication is a variable of type IApplication holding a valid reference 
'to the ArcMap application
Dim pTraceTasks As esriEditorExt.ITraceTasks 

'obtain a reference to the ITraceTasks interface by querying the application
'for the Utility Network Analysis extension 
Set pTraceTasks = g_pApplication.FindExtensionByName("ESRI Utility Network Analysis") 

[Visual Basic .NET, C#, C++]
No example is available for Visual Basic .NET, C#, or C++. To view a Visual Basic 6.0 example, click the Language Filter button Language Filter in the upper-left corner of the page.