PixelFormat.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 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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기