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 で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET