ScriptObject.Item[] 屬性

定義

取得或設定腳本物件的成員。

多載

名稱 Description
Item[Double]

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得或設定腳本物件中由指定 Double 索引值指定的成員。

Item[Int32]

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得或設定腳本物件中由指定 Int32 索引值指定的成員。

Item[Object[]]

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得或設定腳本物件中指定的名稱、 Double 索引值或 Int32 索引值的成員。

Item[String]

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得或設定腳本物件中以指定名稱指定的成員。

Item[Double]

取得或設定腳本物件中由指定 Double 索引值指定的成員。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

index
Double

成員的索引。

屬性值

位於 的成員 index值。

另請參閱

適用於

Item[Int32]

取得或設定腳本物件中由指定 Int32 索引值指定的成員。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

index
Int32

成員的索引。

屬性值

位於 的成員 index值。

另請參閱

適用於

Item[Object[]]

取得或設定腳本物件中指定的名稱、 Double 索引值或 Int32 索引值的成員。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

pars
Object[]

成員的姓名或索引。

屬性值

該成員 pars的值為 。

備註

若陣 pars 列有多個元素,最後一個元素即為此性質的參數。

另請參閱

適用於

Item[String]

取得或設定腳本物件中以指定名稱指定的成員。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

name
String

成員的名稱。

屬性值

名為 的成員 name的值。

另請參閱

適用於