MaterialCollection.Contains(Material) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.