BlockKeyedCollection<T>.SetRootBlock Method
Exception type | Condition |
---|---|
Thrown if the collection is linked to an environment. |
The root block must be set to assign the collection to an Environment.
If the collection is linked to an environment, it's not possible to set a different root block.