ArcFM Solution Developer Guide
Execute Method (IMMSpecialAUStrategy)






Passes in as IObject the object that is being acted on
Use this method to code your special autoupdater task. It can contain code to perform any task that you want to assign to a feature event.
Syntax
'Declaration
 
Sub Execute( _
   ByVal pObj As ESRI.ArcGIS.Geodatabase.IObject _
) 
'Usage
 
Dim instance As IMMSpecialAUStrategy
Dim pObj As ESRI.ArcGIS.Geodatabase.IObject
 
instance.Execute(pObj)
void Execute( 
   ESRI.ArcGIS.Geodatabase.IObject pObj
)
procedure Execute( 
    pObj: ESRI.ArcGIS.Geodatabase.IObject
); 
function Execute( 
   pObj : ESRI.ArcGIS.Geodatabase.IObject
);
void Execute( 
   ESRI.ArcGIS.Geodatabase.IObject* pObj
) 
void Execute( 
   ESRI.ArcGIS.Geodatabase.IObject^ pObj
) 

Parameters

pObj
Passes in as IObject the object that is being acted on
Example

This object is passed in when ArcFM executes the AU strategy. This is the "incoming" object being edited. The following code sample demonstrates how the IMMSpecialAUStrategy::Execute method may be implemented. The sample below is from the ArcFM Place Work Location autoupdater developer sample.

 

Visual Basic Copy Code
Private Sub IMMSpecialAUStrategy_Execute(ByVal pObj As esriCore.IObject)

    'Test if pObj is a valid feature with valid shape.
    If Not ValidObject(pObj) Then Exit Sub

    If IsWorkFunctionChange(pObj) Then
        AutoPLaceWorkFunction pObj
    End If

End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IMMSpecialAUStrategy Interface
IMMSpecialAUStrategy Members

Send Feedback