Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ControlValuePropertyAttribute::Equals Method (Object^)

 

Determines whether the current instance of the ControlValuePropertyAttribute object is equal to the specified object.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public:
virtual bool Equals(
	Object^ obj
) override

Parameters

obj
Type: System::Object^

The Object to compare with this instance.

Return Value

Type: System::Boolean

true if the object contained in the obj parameter is equal to the current instance of ControlValuePropertyAttribute; otherwise, false.

Use the Equals method to determine whether the current instance of the ControlValuePropertyAttribute object is equal to the specified object. For the objects to be equal, they must meet the following criteria:

  1. The object contained in the obj parameter must be a ControlValuePropertyAttribute object.

  2. The Name and DefaultValue properties of both objects must be equal.

System_CAPS_noteNote

This method is used primarily by control developers.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft