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