MaterialCollection.Contains(Material) Method

Definition

Determines whether a given Material is in this MaterialCollection.

public:
 virtual bool Contains(System::Windows::Media::Media3D::Material ^ value);
public bool Contains (System.Windows.Media.Media3D.Material value);
abstract member Contains : System.Windows.Media.Media3D.Material -> bool
override this.Contains : System.Windows.Media.Media3D.Material -> bool
Public Function Contains (value As Material) As Boolean

Parameters

value
Material

The item to locate in this collection.

Returns

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

Implements

Applies to