PixelFormat.Equals Method

Definition

Determines whether the two PixelFormat objects are equal.

Overloads

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(PixelFormat)

Determines whether the pixel format equals the given PixelFormat.

Equals(PixelFormat, PixelFormat)

Determines whether the specified PixelFormat instances are considered equal.

Equals(Object)

Determines whether the specified object is equal to the current object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The Object to compare with the current Object.

Returns

true if the PixelFormat is equal to obj; otherwise, false.

Applies to

Equals(PixelFormat)

Determines whether the pixel format equals the given PixelFormat.

public:
 virtual bool Equals(System::Windows::Media::PixelFormat pixelFormat);
public bool Equals (System.Windows.Media.PixelFormat pixelFormat);
override this.Equals : System.Windows.Media.PixelFormat -> bool
Public Function Equals (pixelFormat As PixelFormat) As Boolean

Parameters

pixelFormat
PixelFormat

The pixel format to compare.

Returns

true if the pixel formats are equal; otherwise, false.

Implements

Applies to

Equals(PixelFormat, PixelFormat)

Determines whether the specified PixelFormat instances are considered equal.

public:
 static bool Equals(System::Windows::Media::PixelFormat left, System::Windows::Media::PixelFormat right);
public static bool Equals (System.Windows.Media.PixelFormat left, System.Windows.Media.PixelFormat right);
static member Equals : System.Windows.Media.PixelFormat * System.Windows.Media.PixelFormat -> bool
Public Shared Function Equals (left As PixelFormat, right As PixelFormat) As Boolean

Parameters

left
PixelFormat

The first PixelFormat objects to compare for equality.

right
PixelFormat

The second PixelFormat object to compare for equality.

Returns

true if the two parameters are equal; otherwise, false.

Applies to