---
title: "LayerCollection..::.Contains Method (Object)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_LayerCollection_Contains_1_d02429b3.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# LayerCollection.Contains Method (Object)
 
Determines whether an object is in the collection.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
Public Function Contains ( _value As Object _
) As Boolean
```
 
```csharp
public bool Contains(Object value
)
```
 
### Parameters
 
 - value
     - Type: [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
An object to locate in the collection.
 
### Return Value
 **true** if the object is found in the collection; otherwise, **false**.
 
### Implements
 
[IList.Contains(Object)](http://msdn2.microsoft.com/en-us/e3a9101f)
 
## Remarks
  
The value can be a null reference.
   
## See Also

### Reference

- [LayerCollection Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_LayerCollection.htm.md)
- [Contains Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_LayerCollection_Contains.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
