DesignerRegionCollection.Contains(DesignerRegion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the specified region is contained within the collection.
public:
bool Contains(System::Web::UI::Design::DesignerRegion ^ region);
public bool Contains (System.Web.UI.Design.DesignerRegion region);
member this.Contains : System.Web.UI.Design.DesignerRegion -> bool
Public Function Contains (region As DesignerRegion) As Boolean
Parameters
- region
- DesignerRegion
The DesignerRegion to locate within the collection.
Returns
true
, if the region is in the collection; otherwise, false
.
Remarks
The Contains method determines equality by using the Equals method on the DesignerRegion objects.
The Contains method performs a linear search; therefore, the average execution time is proportional to the Count property. Because template region collections are typically small, the performance of the linear search operation is not critical.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για