DataObjectMethodAttribute.Match Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: