ArcFM Solution Developer Guide
Execute Method (IMMSpecialAUStrategyEx)


Passes in as IObject the object that is being acted on
Passes in as eAUMode the mode of the Autoupdater component; utilizes the mmAutoUpdaterMode enumeration

Passes in as eEvent the edit event that fired the method; utilizes the mmEditEvent enumeration.

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 pObject As ESRI.ArcGIS.Geodatabase.IObject, _
   ByVal eAUMode As mmAutoUpdaterMode, _
   ByVal eEvent As mmEditEvent _
) 
'Usage
 
Dim instance As IMMSpecialAUStrategyEx
Dim pObject As ESRI.ArcGIS.Geodatabase.IObject
Dim eAUMode As mmAutoUpdaterMode
Dim eEvent As mmEditEvent
 
instance.Execute(pObject, eAUMode, eEvent)
void Execute( 
   ESRI.ArcGIS.Geodatabase.IObject pObject,
   mmAutoUpdaterMode eAUMode,
   mmEditEvent eEvent
)

Parameters

pObject
Passes in as IObject the object that is being acted on
eAUMode
Passes in as eAUMode the mode of the Autoupdater component; utilizes the mmAutoUpdaterMode enumeration
eEvent

Passes in as eEvent the edit event that fired the method; utilizes the mmEditEvent enumeration.

Return Value

String
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 IMMSpecialAUStrategyEx::Execute method may be implemented.
Visual Basic Copy Code
Private Sub IMMSpecialAUStrategyEx_Execute(ByVal pObject As _
IObject, eAUMode As mmAutoUpdaterMode)
  Dim pFeatureClass As IFeatureClass
  Dim pFeature As IFeature

  If eAUMode = mmAUArcMap Then
    Set pFeature = pObject
    Set pFeatureClass = pFeature.Class
    MsgBox "Special AU strategy operating on " & _
    pFeatureClass.AliasName & " featureClass.", , _
    "Simple Example"
  End If
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

IMMSpecialAUStrategyEx Interface
IMMSpecialAUStrategyEx Members

 

 


Send Comment