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

Расположение для поиска.

Возвращаемое значение

Отсчитываемый от нуля индекс символов в указанном расположении.

Применяется к

См. также раздел