AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

bool MgReadOnlyLayerCollection::Contains ( MgLayerBase value  ) 

Determines if the collection contains the specified layer.

.NET Syntax
bool Contains(MgLayerBase value);
Java Syntax
boolean Contains(MgLayerBase value);
PHP Syntax
bool Contains(MgLayerBase value);

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