Dynamically getting layer ID in WPF for Arc/GIS 10.0 services

Discussion created by csxgisdev on Feb 19, 2014
Latest reply on Feb 19, 2014 by kuiperfoliage
We are creating an application in WPF using Arc/GIS 10.0 services and we have about 20 different layers that we need to display on the screen. We may add additional layers in future. So we like to get the layer ids dynamically and display any particular layer. In Arc/GIS 10.1, we have the class  ArcGISDynamicMapServiceLayer  to help. How can we accomplish the same thing in Arc GIS 10.0?

Thanks and Regards
Mini Alex