MediaChapterCollection.IndexOf Method

Determines the index of a specific MediaChapter object in the MediaChapterCollection instance.

Namespace:  System.Web.UI.SilverlightControls
Assembly:  System.Web.Silverlight (in System.Web.Silverlight.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    chapter As MediaChapter _
) As Integer
'Usage
Dim instance As MediaChapterCollection
Dim chapter As MediaChapter
Dim returnValue As Integer

returnValue = instance.IndexOf(chapter)
public int IndexOf(
    MediaChapter chapter
)

Parameters

Return Value

Type: System.Int32
The index of the MediaChapter, if found; otherwise, -1.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

MediaChapterCollection Class

MediaChapterCollection Members

System.Web.UI.SilverlightControls Namespace