共用方式為


ModelBindingResult.Inequality(ModelBindingResult, ModelBindingResult) 運算子

定義

ModelBindingResult比較物件是否不相等。

public:
 static bool operator !=(Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult x, Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult y);
public static bool operator != (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult x, Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult y);
static member op_Inequality : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult * Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult -> bool
Public Shared Operator != (x As ModelBindingResult, y As ModelBindingResult) As Boolean

參數

傳回

true 如果物件不相等,則為 ,否則 false 為 。

適用於