Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIElementCollection.IList.IndexOf Method (Object)

 

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 Function IndexOf (
	value As Object
) As Integer
	Implements IList.IndexOf

Parameters

value
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
Show:
© 2017 Microsoft