MaskedTextBox.GetCharIndexFromPosition(Point) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得最接近指定位置的字元索引。
public:
override int GetCharIndexFromPosition(System::Drawing::Point pt);
public override int GetCharIndexFromPosition(System.Drawing.Point pt);
override this.GetCharIndexFromPosition : System.Drawing.Point -> int
Public Overrides Function GetCharIndexFromPosition (pt As Point) As Integer
參數
- pt
- Point
搜尋地點。
傳回
在指定位置的零為基礎字元索引。