ScriptObjectCollection.Item Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets an item from the collection at the specified index.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As ScriptObject
public ScriptObject this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32
    The zero-based index of the item to be retrieved.

Property Value

Type: System.Windows.Browser.ScriptObject
A reference to an HTML element.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is invalid.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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