Rediger

Del via


PixelFormatChannelMask.Equals Method

Definition

Determines whether two objects are equal.

Overloads

Equals(Object)

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

Equals(PixelFormatChannelMask, PixelFormatChannelMask)

Determines if two pixel format channel masks are 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 mask.

Returns

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

Applies to

Equals(PixelFormatChannelMask, PixelFormatChannelMask)

Determines if two pixel format channel masks are equal.

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

Parameters

left
PixelFormatChannelMask

The first mask to compare.

right
PixelFormatChannelMask

The second mask to compare.

Returns

true if the masks are equal; otherwise, false.

Applies to