PixelFormat.Equals PixelFormat.Equals PixelFormat.Equals PixelFormat.Equals Method

Definition

Determines whether the two PixelFormat objects are equal.

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

Equals(PixelFormat) Equals(PixelFormat) Equals(PixelFormat)

Determines whether the pixel format equals the given PixelFormat.

Equals(PixelFormat, PixelFormat) Equals(PixelFormat, PixelFormat) Equals(PixelFormat, PixelFormat) Equals(PixelFormat, PixelFormat)

Determines whether the specified PixelFormat instances are considered equal.

Equals(Object) Equals(Object) Equals(Object) 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 Object Object Object

The Object to compare with the current Object.

Returns

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

Equals(PixelFormat) Equals(PixelFormat) 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

Parameters

pixelFormat
PixelFormat PixelFormat PixelFormat PixelFormat

The pixel format to compare.

Returns

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

Implements

Equals(PixelFormat, PixelFormat) Equals(PixelFormat, PixelFormat) Equals(PixelFormat, PixelFormat) 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 PixelFormat PixelFormat PixelFormat

The first PixelFormat objects to compare for equality.

right
PixelFormat PixelFormat PixelFormat PixelFormat

The second PixelFormat object to compare for equality.

Returns

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

Applies to