There are times, especially when using the CmsApplicationContext in a stand-alone setting or in Update PublishingMode from a posting, when you want to locate a specific object or collection of objects, regardless of the current location. For those times, both the CmsHttpContext and the CmsApplicationContext provide a method called Searches. It provides direct access to an individual object or collections of objects with specific characteristics. For many of the code samples throughout this book to work, we need to use some of the Searches property's methods. We will use all of those methods in this chapter. |