Visual3DCollection.IndexOf Method (Visual3D)

 

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

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

public int IndexOf(
	Visual3D value
)

Parameters

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

The Visual3D for which to search.

Return Value

Type: System.Int32

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

.NET Framework
Available since 3.0
Return to top
Show: