DataObjectMethodAttribute.Match(Object) 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.
Gets a value indicating whether this instance shares a common pattern with a specified attribute.
public:
override bool Match(System::Object ^ obj);
public override bool Match (object obj);
public override bool Match (object? obj);
override this.Match : obj -> bool
Public Overrides Function Match (obj As Object) As Boolean
Parameters
- obj
- Object
An object to compare with this instance of DataObjectMethodAttribute.
Returns
true
if this instance is the same as the instance specified by the obj
parameter; otherwise, false
.
Remarks
This method determines whether one DataObjectMethodAttribute fits the pattern of another. Its implementation is not the same as that of Equals, however, because it does not test for true equality.