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 類別的標準索引器。