Edytuj

Udostępnij za pośrednictwem


MaterialCollection.IndexOf(Material) Method

Definition

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