MaskedTextBox.GetCharFromPosition(Point) MaskedTextBox.GetCharFromPosition(Point) MaskedTextBox.GetCharFromPosition(Point) MaskedTextBox.GetCharFromPosition(Point) Method

定義

コントロール内の指定した位置の一番近くにある文字を取得します。Retrieves the character that is closest to the specified location within the control.

public:
 override char GetCharFromPosition(System::Drawing::Point pt);
public override char GetCharFromPosition (System.Drawing.Point pt);
override this.GetCharFromPosition : System.Drawing.Point -> char
Public Overrides Function GetCharFromPosition (pt As Point) As Char

パラメーター

pt
Point Point Point Point

一番近くにある文字をシークする位置。The location from which to seek the nearest character.

戻り値

指定した位置にある文字。The character at the specified location.

適用対象

こちらもご覧ください