Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8780721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:07:43+00:00 2026-06-13T20:07:43+00:00

I was implementing my own Attribute today when i noticed the virtual function Match

  • 0

I was implementing my own Attribute today when i noticed the virtual function Match.
The normal implementation of Match is to call Equals, so why does it exist in the first place?

The documentation says the following for Match

When overridden in a derived class, returns a value that indicates
whether this instance equals a specified object.

The documentation says the following for Equals

Returns a value that indicates whether this instance is equal to a
specified object.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T20:07:44+00:00Added an answer on June 13, 2026 at 8:07 pm

    The remarks section in MSDN for that method explains their difference:

    This method determines if one Attribute equals another. Its default implementation is the same as Equals, which performs a value and reference comparison. Override this method to implement support for attribute values, such as flags or bit fields, that consist of components that are meaningful in themselves.

    For example, consider an attribute whose value is a binary field divided into a bit field of flags. Two instances of this attribute have one flag in set in common while all the other flags differ. The Equals method cannot determine that the two instances have the same flag set, but the Match method can.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm enamoured with the idea of implementing my own single-entry-point gateway that does two
So I was implementing my own binary search tree and noticed that an ugly
Consider we are implementing our own thread with lot of autoreleased object. Is it
I'm implementing my own Content Provider because I'm gonna synchronize my database with a
I've been implementing my own version of a red-black tree, mostly basing my algorithms
I'm implementing my own NSBitmapImageRep (to draw PBM image files). To draw them, I'm
I'm implementing my own double-buffering for a BufferedImage in a JPanel so that I
I'm implementing my own matrix math for an OpenGL application. So far, things are
I am implementing my own LinkedList . I've a class which calls MyLinkedLlist ,
Where can I get info about implementing my own methods that have the ellipsis

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.