This documentation is archived and is not being maintained.

SByte.Equals Method

Returns a value indicating whether this instance is equal to a specified object.

The SByte type is not CLS-compliant. The CLS-compliant alternative type is Int16. For more information about CLS compliance, see What is the Common Language Specification.

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


An object to compare with this instance.

Return Value

true if obj is an instance of SByte and equals the value of this instance; otherwise, false.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

SByte Structure | SByte Members | System Namespace | CompareTo