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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de