Modifier

Partager via


MaterialCollection.Remove(Material) Method

Definition

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

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

Parameters

value
Material

The Material to remove from this collection.

Returns

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

Implements

Applies to