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

# IScriptObjectItem(String, Object) Property

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

    Object this[
    	string name,
    	params Object[] args
    ] { get; set; }

    Default Property Item (
    	name As String,
    	ParamArray args As Object()
    ) As Object
    	Get
    	Set

    property Object^ default[String^ name, ... array<Object^>^ args] {
    	Object^ get (String^ name, ... array<Object^>^ args);
    	void set (String^ name, ... array<Object^>^ args, Object^ value);
    }

    abstract Item : Object with get, set

#### Parameters

name String
  The name of the property to get or set.
args Object
  Optional arguments for property access.

#### Return Value

Object
The value of the specified property.
See Also

#### Reference

IScriptObject Interface
Item Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft