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.

TextElementCollection<TextElementType>.IList.IndexOf Method (Object)

 

Determines the index of a specific item in the IList.

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

int IList.IndexOf(
	object value
)

Parameters

value
Type: System.Object

The object to locate in the IList.

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