Upravit

Sdílet prostřednictvím


MaskedTextBox.GetCharFromPosition(Point) Method

Definition

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

Parameters

pt
Point

The location from which to seek the nearest character.

Returns

The character at the specified location.

Applies to

See also