MaskedTextProvider.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取格式字符串中位于指定位置的元素。
public:
property char default[int] { char get(int index); };
public char this[int index] { get; }
member this.Item(int) : char
Default Public ReadOnly Property Item(index As Integer) As Char
参数
- index
- Int32
要检索的元素的从零开始的索引。
属性值
格式 Char 字符串中的指定位置处。
例外
index 小于零或大于或等于 Length 掩码。
注解
该 Item[] 属性是类的标准索引器 MaskedTextProvider 。