ScriptObject.Item[] Property

Definition

Gets or sets a member of the script object.

Overloads

Item[Double]

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a member of the script object that is designated by the specified Double index value.

Item[Int32]

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a member of the script object that is designated by the specified Int32 index value.

Item[Object[]]

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value.

Item[String]

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a member of the script object that is designated by the specified name.

Item[Double]

Gets or sets a member of the script object that is designated by the specified Double index value.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public object this[double index] { get; set; }

Parameters

index
Double

The index of the member.

Property Value

The value of the member that is at index.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Item[Int32]

Gets or sets a member of the script object that is designated by the specified Int32 index value.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public object this[int index] { get; set; }

Parameters

index
Int32

The index of the member.

Property Value

The value of the member that is at index.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Item[Object[]]

Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public object this[params object[] pars] { get; set; }

Parameters

pars
Object[]

The name or index of the member.

Property Value

The value of the member that is specified in pars.

Remarks

If the pars array has more than one element, the last element is the argument for this property.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Item[String]

Gets or sets a member of the script object that is designated by the specified name.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public object this[string name] { get; set; }

Parameters

name
String

The name of the member.

Property Value

The value of the member that is named name.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1