ScriptObject.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property System::Object ^ default[double] { System::Object ^ get(double index); void set(double index, System::Object ^ value); };
public object this[double index] { get; set; }
member this.Item(double) : obj with get, set
Default Public Property Item(index As Double) As Object
Parameters
- index
- Double
The index of the member.
Property Value
The value of the member that is at index
.
See also
Applies to
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.
public:
property System::Object ^ default[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
public object this[int index] { get; set; }
member this.Item(int) : obj with get, set
Default Public Property Item(index As Integer) As Object
Parameters
- index
- Int32
The index of the member.
Property Value
The value of the member that is at index
.
See also
Applies to
Item[Object[]]
public:
property System::Object ^ default[cli::array <System::Object ^> ^] { System::Object ^ get(... cli::array <System::Object ^> ^ pars); void set(... cli::array <System::Object ^> ^ pars, System::Object ^ value); };
public object this[params object[] pars] { get; set; }
member this.Item(obj[]) : obj with get, set
Default Public Property Item(ParamArray pars As Object()) As Object
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
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.
public:
property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); void set(System::String ^ name, System::Object ^ value); };
public object this[string name] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(name As String) As Object
Parameters
- name
- String
The name of the member.
Property Value
The value of the member that is named name
.