Attribute::Match Method (Object^)
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- obj
- Type: System::Object^
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.
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0