ParameterModifier.Item[Int32] 屬性

定義

取得或設定值,指定位於指定索引位置的參數是否要由目前的 ParameterModifier 所修改。Gets or sets a value that specifies whether the parameter at the specified index position is to be modified by the current 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

正在檢查或設定其修改狀態的參數索引位置。The index position of the parameter whose modification status is being examined or set.

屬性值

如果位於這個索引位置的參數要由這個 ParameterModifier 所修改,則為 true;否則為 falsetrue if the parameter at this index position is to be modified by this ParameterModifier; otherwise, false.

備註

索引子允許在類型上使用預設屬性, 就像類型是陣列一樣。Indexers permit a default property on a type to be indexed as if the type were an array.

適用於