DrawingCollection.Contains Method

Determines whether a given Drawing is in this DrawingCollection.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

'Declaration
Public Function Contains ( _
	value As Drawing _
) As Boolean

Parameters

value
Type: System.Windows.Media.Drawing

The item to locate in this collection.

Return Value

Type: System.Boolean
true if value, the specified Drawing, is in this DrawingCollection; otherwise, false.

Implements

ICollection(Of T).Contains(T)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft