NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Char.Equals

Compares two boxed objects.

[Visual Basic]
Overrides Public Function Equals( _
   ByVal obj As Object _
) As Boolean
[C#]
public override bool Equals(
   object obj
);
[C++]
public: override bool Equals(
   Object* obj
);
[JScript]
public override function Equals(
   obj : Object
) : Boolean;

Parameters

obj
The object to compare with this instance.

Return Value

true if both the object and this instance are the same, otherwise false.

Remarks

The Equals method is used to compare the current instance against an object provided. If both are character objects and both contain the same character, then true is returned. Otherwise, false is returned.

See Also

Char Structure | Char Members | System Namespace | Object