1

Closed

LegendText ReadOnly

description

Hi,
I'm using this code for to identify the single layer present in 'MapLayers'
IMapFeatureLayer[] arrayLayer = currentMap.GetFeatureLayers();

foreach (IMapFeatureLayer layer in arrayLayer)
{
    if (layer.LegendText.Equals(layerToRemoved.LegendText))
    {
        //TODO
    }
}
In treeview of 'MapLayers', can I block the name of layer as ReadOnly?

Thanks.
Closed Dec 21, 2016 at 11:18 AM by jany_

comments