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

検索する位置。

戻り値

Int32

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

適用対象

こちらもご覧ください