ArcFM Engine Developer Guide
Enabled Property (IMMExtObject)


Variant
Specifies whether the object or rule should be enabled for an object or feature class, or a field of the object or feature class.
Syntax
'Declaration
 
<DispIdAttribute(1610678273)>
ReadOnly Property Enabled( _
   ByRef pvarValues As Object _
) As Boolean
'Usage
 
Dim instance As IMMExtObject
Dim pvarValues As Object
Dim value As Boolean
 
value = instance.Enabled(pvarValues)
[DispId(1610678273)]
bool Enabled( 
   ref object pvarValues
) {get;}

Parameters

pvarValues
Variant

Property Value

Boolean
Example
The following code sample demonstrates how the IMMExtObject::Enabled property may be implemented.
Visual Basic Copy Code
Private Property Get IMMExtObject_Enabled(pvarValues As Variant) As Boolean
    IMMExtObject_Enabled = False
    If pvarValues Is Nothing Then Exit Property
        If Typeof pvarValues Is IObjectClass Then
            Dim pOC As IObjectClass
            Set pOC = pvarValues
            Dim pDataset As IDataset
            Set pDataset = pOC
            If pDataset.Name = "Switch" Then
            IMMExtObject_Enabled = True
        End If
    End If
End Property
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

IMMExtObject Interface
IMMExtObject Members

 

 


Send Comment