MaterialCollection.Remove Method (Material)

 

Removes the first occurrence of the specified Material from the MaterialCollection.

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

public bool Remove(
	Material value
)

Parameters

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

The Material to remove from this collection.

Return Value

Type: System.Boolean

true if value was removed from the collection; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: