PixelFormatChannelMask.Equality 运算符

定义

比较两个 PixelFormatChannelMask 实例是否相等。

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

参数

left
PixelFormatChannelMask

要比较的第一个掩码。

right
PixelFormatChannelMask

要比较的第二个掩码。

返回

Boolean

如果两个掩码相等,则为 true;否则为 false

适用于