Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
Contains
GetCount
GetItem
GetItem
IndexOf
IndexOf
Insert
Remove
RemoveAt
SetItem
bool MgLayerGroupCollection::Contains | ( | CREFSTRING | name | ) |
Determines if the collection contains the specified layer group. .NET Syntax
`bool Contains(string name);`
Java Syntax
`boolean Contains(String name);`
PHP Syntax
`bool Contains(string name);`
  Parameters:
  | name | (String/string) Name of the layer group to search for.
Returns: Returns true if the collection contains the specified item, or false otherwise.

Comments or suggestions? Send us feedback.