ParameterModifier.Item[Int32] 屬性

定義

取得或設定值,指定位於指定索引位置的參數是否要由目前的 ParameterModifier 所修改。

public:
 property bool default[int] { bool get(int index); void set(int index, bool value); };
public bool this[int index] { get; set; }
member this.Item(int) : bool with get, set
Default Public Property Item(index As Integer) As Boolean

參數

index
Int32

正在檢查或設定其修改狀態的參數索引位置。

屬性值

Boolean

如果位於這個索引位置的參數要由這個 ParameterModifier 所修改,則為 true;否則為 false

備註

索引子允許在類型上編制索引的預設屬性,就像類型是陣列一樣。

適用於