Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
720
How to find a location by key?
posted

Hi,

I would like to find any location by key.

Is it possible?

 

Thank you,

Kind Regards.

  • 69832
    Verified Answer
    Offline posted

    Different Locations collections can contain items with the same key, i.e., keys are only unique within a given Locations collection.

    If you know that your keys are all unique, you can search recursively starting at the control's RootLocation.Locations collection, drilling down into each Location's Locations collection, similarly to how you would traverse a tree's node structure.