- region
- The System.Web.UI.Design.DesignerRegion to locate within the collection.
true, if the region is in the collection; otherwise, false.
The DesignerRegionCollection.Contains(DesignerRegion) method determines equality by using the object.Equals(object) method on the System.Web.UI.Design.DesignerRegion objects.
The DesignerRegionCollection.Contains(DesignerRegion) method performs a linear search; therefore, the average execution time is proportional to the DesignerRegionCollection.Count property. Because template region collections are typically small, the performance of the linear search operation is not critical.