PixelFormat.Equality(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 ( = ) : 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

返回

Boolean

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

适用于