MaskedTextProvider.Item[Int32] 屬性

定義

取得格式化字串中位於指定位置的項目。

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

適用於

另請參閱