UIElementCollection.IList.IndexOf Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. For a description of this member, see IndexOf.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

private abstract IndexOf : 
        value:Object -> int
private override IndexOf : 
        value:Object -> int


Type: System.Object

The object to locate in the list.

Return Value

Type: System.Int32

The index of value if found in the list; otherwise, -1.

.NET Framework
Available since 3.0
Return to top