MaterialCollection.Remove(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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.