Equals Method

Determines whether the specified object is the same instance as the current object.

Syntax

Visual Basic Overrides  Public  Function 
Equals( ByVal oObject As object ) As bool
C# public   override  bool 
Equals(object oObject );
Managed C++ public:  bool 
Equals(object oObject );
JScript public   override function
Equals(oObject : object );

Parameters

oObject Required. The object to compare the current object to.

Return Value

Returns one of the following possible values.

false Default. Objects are not equal.
true Objects are equal.

Applies To

CssCollection

See Also

Internet Explorer WebControls