PixelFormatChannelMask.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
The first mask to compare.
- right
- PixelFormatChannelMask
The second mask to compare.
Returns
true
if the masks are equal; otherwise, false
.