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
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.