点击或拖拽改变大小

SizeInequality 运算符

Compares two Size instances for exact inequality. Note that float values can acquire error when operated upon, such that an exact comparison between two values which are logically equal may fail. Furthermore, using this equality operator, float.NaN is not equal to itself.

命名空间:  CPF.Drawing
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public static bool operator !=(
	 in Size size1,
	 in Size size2
)

参数

size1
类型:CPF.DrawingSize
The first Size to compare
size2
类型:CPF.DrawingSize
The second Size to compare

返回值

类型:Boolean
bool - true if the two Size instances are exactly unequal, false otherwise
参见