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

要比較的第二個遮罩。

傳回

如果兩個遮罩相等則為 true,否則為 false

適用於