| 
    MapGuide API Reference
   
    
   
   | 
  
  
  
 
| INT32 MgLayerCollection::IndexOf | ( | CREFSTRING | name | ) | 
Gets the index of the specified layer in the collection.
| int IndexOf(string name); | 
| int IndexOf(String name); | 
| int IndexOf(string name); | 
| name | (String/string) Name of the layer to search for. |