Specifies whether the object or rule should be enabled for an object or feature class, or a field of the object or feature class.
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 |
|
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.