DataObjectMethodAttribute.Match Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether this instance shares a common pattern with a specified attribute.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public override bool Match(
	object obj


Type: System.Object

An object to compare with this instance of DataObjectMethodAttribute.

Return Value

Type: System.Boolean

true if this instance is the same as the instance specified by the obj parameter; otherwise, false.

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.

.NET Framework
Available since 2.0
Return to top