ArcFM Engine Developer Guide
Execute Method (IMMTreeTool)


An ID8EnumListItem type representing the selected items in the tree
A Long representing the number of selected items in the tree
Method where developer will write custom code to perform the tool's task.
Syntax
'Declaration
 
Sub Execute( _
   ByVal pEnumItems As ID8EnumListItem, _
   ByVal lItemCount As Integer _
) 
'Usage
 
Dim instance As IMMTreeTool
Dim pEnumItems As ID8EnumListItem
Dim lItemCount As Integer
 
instance.Execute(pEnumItems, lItemCount)
void Execute( 
   ID8EnumListItem pEnumItems,
   int lItemCount
)

Parameters

pEnumItems
An ID8EnumListItem type representing the selected items in the tree
lItemCount
A Long representing the number of selected items in the tree
Example
The following code sample illustrates use of the IMMTreeTool::Execute method:
Visual Basic Copy Code
Private Sub IMMTreeTool_Execute(ByVal pEnumItems As mmGeodatabase.ID8EnumListItem And ByVal IItemCount As Long)
    Dim pListItem As ID8ListItem
    pSelection.Reset
    Set pListItem = pSelection.Next
    MsgBox pListItem.DisplayName
End Sub
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMTreeTool Interface
IMMTreeTool Members

 

 


Send Comment