ControlValuePropertyAttribute.Equals Method (Object)
.NET Framework (current version)
Determines whether the current instance of the ControlValuePropertyAttribute object is equal to the specified object.
Assembly: System.Web (in System.Web.dll)
Parameters
- obj
-
Type:
System.Object
The Object to compare with this instance.
Return Value
Type: System.Booleantrue 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:
The object contained in the obj parameter must be a ControlValuePropertyAttribute object.
The Name and DefaultValue properties of both objects must be equal.
Note |
|---|
This method is used primarily by control developers. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
