ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptObject Class
ScriptObject Properties
Item Property
Item(Int32) Property
Item(String, Object[]) Property

# ScriptObjectItem(Int32) Property

Gets or sets the value of an indexed script object property.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public abstract Object this[
    	int index
    ] { get; set; }

    Public MustOverride Default Property Item (
    	index As Integer
    ) As Object
    	Get
    	Set

    public:
    virtual property Object^ default[int index] {
    	Object^ get (int index) abstract;
    	void set (int index, Object^ value) abstract;
    }

    abstract Item : Object with get, set

#### Parameters

index Int32
  The index of the property to get or set.

#### Return Value

Object
The value of the specified property.

#### Implements

IScriptObjectItemInt32
See Also

#### Reference

ScriptObject Class
Item Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft