CanRemoveLayer Method (KnowledgeGraphLayer)
 
            
            Determines if a layer can be removed from the container.
            Sublayers can be removed only if the knowledgegraph layer is on a map.
            
            
            
            
            
        
            Parameters
- layer
 
- A Layer to be removed.
 
            
            Return Value
True if the layer can be removed. False otherwise. 
 
            
            
            
            
            Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.4 or higher.