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
 
<System.Runtime.InteropServices.DispIdAttribute(1610678274)>
ReadOnly Property Enabled( _
   ByVal pObjectClass As ESRI.ArcGIS.Geodatabase.IObjectClass, _
   ByVal eEvent As mmEditEvent _
) As System.Boolean
'Usage
 
Dim instance As IMMSpecialAUStrategyEx
Dim pObjectClass As ESRI.ArcGIS.Geodatabase.IObjectClass
Dim eEvent As mmEditEvent
Dim value As System.Boolean
 
value = instance.Enabled(pObjectClass, eEvent)
[System.Runtime.InteropServices.DispId(1610678274)]
System.bool Enabled( 
   ESRI.ArcGIS.Geodatabase.IObjectClass pObjectClass,
   mmEditEvent eEvent
) {get;}
read-only property Enabled( 
    pObjectClass: ESRI.ArcGIS.Geodatabase.IObjectClass;
    eEvent: mmEditEvent
): System.Boolean; 
System.Runtime.InteropServices.DispIdAttribute(1610678274)
function get Enabled( 
   pObjectClass : ESRI.ArcGIS.Geodatabase.IObjectClass,
   eEvent : mmEditEvent
) : System.boolean
[System.Runtime.InteropServices.DispId(1610678274)]
__property System.bool get_Enabled( 
   ESRI.ArcGIS.Geodatabase.IObjectClass* pObjectClass,
   mmEditEvent eEvent
);
[System.Runtime.InteropServices.DispId(1610678274)]
property System.bool Enabled {
   System.bool get(ESRI.ArcGIS.Geodatabase.IObjectClass^ pObjectClass, mmEditEvent eEvent);
}

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 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

IMMSpecialAUStrategyEx Interface
IMMSpecialAUStrategyEx Members

Send Feedback