編集

次の方法で共有


MaskInputRejectedEventArgs(Int32, MaskedTextResultHint) Constructor

Definition

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