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

注解

索引器允许对类型进行索引的默认属性,就像类型是数组一样。

适用于