MaterialCollection.Contains Method (Material)

 

Determines whether a given Material is in this MaterialCollection.

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

public bool Contains(
	Material value
)

Parameters

value
Type: System.Windows.Media.Media3D.Material

The item to locate in this collection.

Return Value

Type: System.Boolean

true if value, the specified Material, is in this MaterialCollection; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: