PixelFormat.Inequality(PixelFormat, PixelFormat) 操作员

定义

比较两个 PixelFormat 实例是否不相等。

public:
 static bool operator !=(System::Windows::Media::PixelFormat left, System::Windows::Media::PixelFormat right);
public static bool operator != (System.Windows.Media.PixelFormat left, System.Windows.Media.PixelFormat right);
static member op_Inequality : System.Windows.Media.PixelFormat * System.Windows.Media.PixelFormat -> bool
Public Shared Operator != (left As PixelFormat, right As PixelFormat) As Boolean

参数

left
PixelFormat

要比较的第一个 PixelFormat

right
PixelFormat

要比较的第二个 PixelFormat

返回

如果 PixelFormat 对象不相等,则为 true;否则为 false

适用于