Object already owned

355
4
11-08-2021 05:05 AM
batkaj
by
New Contributor II

Screen Shot 2021-11-08 at 19.31.56.png

  I have tried the most out of it. Owned doesn't budge.

0 Kudos
4 Replies
MichaelBranscomb
Esri Frequent Contributor

What collection type are IncludedLayers and ExcludedLayers?

0 Kudos
batkaj
by
New Contributor II

only feature type.

0 Kudos
batkaj
by
New Contributor II

Simulator Screen Shot - iPod touch (7th generation) - 2021-11-09 at 14.00.14.png

 

0 Kudos
dotMorten_esri
Esri Notable Contributor

Is/was the layer already part of a map? It can only be in one layer collection.

If you just need to turn layers on/off like the above screenshot seems to indicate, you can just use the IsVisible property.

0 Kudos