Modifier

Partager via


PixelFormat.Equality(PixelFormat, PixelFormat) Operator

Definition

Compares two PixelFormat instances for equality.

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

Parameters

left
PixelFormat

The first PixelFormat to compare.

right
PixelFormat

The second PixelFormat to compare.

Returns

true if the two PixelFormat objects are equal; otherwise, false.

Applies to