共用方式為


ModelBindingResult.Equality(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 ( = ) : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult * Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult -> bool
Public Shared Operator == (x As ModelBindingResult, y As ModelBindingResult) As Boolean

參數

傳回

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

適用於