MaskedTextBox.GetCharIndexFromPosition(Point) メソッド

定義

指定した場所に最も近い文字のインデックスを取得します。

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

検索する場所。

返品

指定した位置にある 0 から始まる文字インデックス。

適用対象

こちらもご覧ください