Use this property to determine when a display name object is enabled based on dataset properties. For example, you can choose to enable a display name object only when a particular feature class is selected. Returning False prevents the ArcFM Properties Manager from displaying the object for selection.
The following code sample demonstrates how the IMMDisplayNamer::Enabled property may be implemented.
Visual Basic |
Copy Code |
Private Function IMMDisplayNamer_Enabled(ByVal pDataset As IDataset) As Boolean
IMMDisplayNamer_Enabled = False
If pDataset.Name = "GasValve" Then
IMMDisplayNamer_Enabled = True
End If
End Function |
|
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