MaskInputRejectedEventArgs(Int32, MaskedTextResultHint) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the MaskInputRejectedEventArgs class.
public:
MaskInputRejectedEventArgs(int position, System::ComponentModel::MaskedTextResultHint rejectionHint);
public MaskInputRejectedEventArgs (int position, System.ComponentModel.MaskedTextResultHint rejectionHint);
new System.Windows.Forms.MaskInputRejectedEventArgs : int * System.ComponentModel.MaskedTextResultHint -> System.Windows.Forms.MaskInputRejectedEventArgs
Public Sub New (position As Integer, rejectionHint As MaskedTextResultHint)
Parameters
- position
- Int32
An Int32 value that contains the zero-based position of the character that failed the mask. The position includes literal characters.
- rejectionHint
- MaskedTextResultHint
A MaskedTextResultHint that generally describes why the character was rejected.
Remarks
The MaskInputRejectedEventArgs constructor sets the values of the Position and RejectionHint properties.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.