NFloat.Equality(NFloat, NFloat) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
比较两个值以确定相等性。
public:
static bool operator ==(System::Runtime::InteropServices::NFloat left, System::Runtime::InteropServices::NFloat right) = System::Numerics::IEqualityOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, bool>::op_Equality;
public static bool operator == (System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right);
static member ( = ) : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> bool
Public Shared Operator == (left As NFloat, right As NFloat) As Boolean
参数
- left
- NFloat
要与 right
进行比较的值。
- right
- NFloat
要与 left
进行比较的值。
返回
如果 true
等于 left
,则为 right
;否则为 false
。