IndexOf Method

MaterialCollection.IndexOf Method (Material)

 

Gets the index position of the first occurrence of the specified Material.

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

public int IndexOf(
	Material value
)

Parameters

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

The Material to search for.

Return Value

Type: System.Int32

The index position of the specified Material.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft