ArcFM Solution Developer Guide
Enabled Property (IMMSpecialAUStrategyEx)


Passes in as IObject the class or type of object

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

This property is used to determine whether the autoupdater can be assigned to a particular class.
Syntax
'Declaration
 
<DispIdAttribute(1610678274)>
ReadOnly Property Enabled( _
   ByVal pObjectClass As ESRI.ArcGIS.Geodatabase.IObjectClass, _
   ByVal eEvent As mmEditEvent _
) As Boolean
'Usage
 
Dim instance As IMMSpecialAUStrategyEx
Dim pObjectClass As ESRI.ArcGIS.Geodatabase.IObjectClass
Dim eEvent As mmEditEvent
Dim value As Boolean
 
value = instance.Enabled(pObjectClass, eEvent)
[DispId(1610678274)]
bool Enabled( 
   ESRI.ArcGIS.Geodatabase.IObjectClass pObjectClass,
   mmEditEvent eEvent
) {get;}

Parameters

pObjectClass
Passes in as IObject the class or type of object
eEvent

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

Property Value

Boolean
Example
The following code sample demonstrates how the IMMSpecialAUStrategyEx::Enabled property may be implemented.
Visual Basic Copy Code
Private Sub IMMSpecialAUStrategyEx_Enabled(ByVal _
pObjectClass As IObjectClass, eEvent As mmEditEvent)

  IMMSpecialAUStrategyEx_Enabled = False

  Dim pFeatureClass As IFeatureClass
  Dim pFeature As IFeature

  Set pFeature = pObject
  Set pFeatureClass = pFeature.Class

  If pFeatureClass.AliasName = "Transformer" Then
   IMMSpecialAUStrategyEx_Enabled = True
  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