MaterialCollection.IndexOf(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.
Gets the index position of the first occurrence of the specified Material.
public:
virtual int IndexOf(System::Windows::Media::Media3D::Material ^ value);
public int IndexOf (System.Windows.Media.Media3D.Material value);
abstract member IndexOf : System.Windows.Media.Media3D.Material -> int
override this.IndexOf : System.Windows.Media.Media3D.Material -> int
Public Function IndexOf (value As Material) As Integer
Parameters
- value
- Material
The Material to search for.
Returns
The index position of the specified Material.
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.