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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.