Web API Reference MapGuide Open Source

bool MgLayerCollection::Contains MgLayer value  ) 
 

Determines if the collection contains the specified layer.

.Net Syntax
bool Contains(MgLayer value);
Java Syntax
boolean Contains(MgLayer value);
PHP Syntax
bool Contains(MgLayer value);

Parameters:
value (MgLayer) MgLayer to search for.
Returns:
Returns true if the collection contains the specified item, or false otherwise.