TypeValidationEventArgs(Type, Boolean, Object, String) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy TypeValidationEventArgs.

public:
 TypeValidationEventArgs(Type ^ validatingType, bool isValidInput, System::Object ^ returnValue, System::String ^ message);
public TypeValidationEventArgs (Type validatingType, bool isValidInput, object returnValue, string message);
new System.Windows.Forms.TypeValidationEventArgs : Type * bool * obj * string -> System.Windows.Forms.TypeValidationEventArgs
Public Sub New (validatingType As Type, isValidInput As Boolean, returnValue As Object, message As String)

Parametry

validatingType
Type

Formatowany Type ciąg wejściowy został zweryfikowany.

isValidInput
Boolean

Boolean Wartość wskazująca, czy sformatowany ciąg został pomyślnie przekonwertowany na typ sprawdzania poprawności.

returnValue
Object

Jest Object to wynik sformatowanego ciągu konwertowanego na typ docelowy.

message
String

Obiekt String zawierający opis procesu konwersji.

Uwagi

Parametry konstruktora TypeValidationEventArgs są używane do inicjowania odpowiednich właściwości tylko do odczytu tej klasy.

Dotyczy

Zobacz też