select Layer ID from checkbox not working
if (McCheckBox1.IsChecked)
{
findParameters.LayerIds.AddRange(new int[] { 0, 1, 2, 3, 4, 5, });
}
Please Help
Asghar,
Try this
findParameters.LayerIds = [ 0, 1, 2, 3, 4, 5];
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.