Tests whether the given object is equal to this object.Tests whether the given object is equal to this object.
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
Parameters
- obj
 - The object to compare to this object.
The object to compare to this object. 
Return Value
True if obj is an instance of a CommandUI class and is equal to this object; otherwise false.true if obj is an instance of CommandUI class and is equal to this object; otherwise, false.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family