IndexOf Method

TextDecorationCollection.IndexOf Method (TextDecoration)

 

Returns the index of the specified TextDecoration object within the collection.

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

public int IndexOf(
	TextDecoration value
)

Parameters

value
Type: System.Windows.TextDecoration

The TextDecoration object to locate.

Return Value

Type: System.Int32

The zero-based index of value, if found; otherwise -1;

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft