Visual3DCollection.IndexOf(Visual3D) Method

Definition

Gets the index of the first occurrence of the specified Visual3D object.

public:
 virtual int IndexOf(System::Windows::Media::Media3D::Visual3D ^ value);
public int IndexOf (System.Windows.Media.Media3D.Visual3D value);
abstract member IndexOf : System.Windows.Media.Media3D.Visual3D -> int
override this.IndexOf : System.Windows.Media.Media3D.Visual3D -> int
Public Function IndexOf (value As Visual3D) As Integer

Parameters

value
Visual3D

The Visual3D for which to search.

Returns

The index of the specified Visual3D, or -1 if value is null or has a different visual parent.

Implements

Applies to