TypeValidationEventArgs(Type, Boolean, Object, String) 建構函式

定義

初始化 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)

參數

validatingType
Type

Type,做為驗證格式化輸入字串的依據。

isValidInput
Boolean

Boolean 值,指出格式化字串是否成功轉換成驗證的型別。

returnValue
Object

Object,表示格式化字串轉換成目標型別的結果。

message
String

String,其中含有轉換處理序的說明。

備註

建構函式的參數 TypeValidationEventArgs 是用來初始化這個類別的對應唯讀屬性。

適用於

另請參閱