ModelBindingResult.Equality(ModelBindingResult, ModelBindingResult) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
。