Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Version.Equals Method

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

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

Parameters

obj
An object to compare with this instance, or a null reference (Nothing in Visual Basic).

Return Value

true if this instance and obj are both Version objects, and every component of this instance matches the corresponding component of obj; otherwise, false.

Requirements

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

Version Class | Version Members | System Namespace | CompareTo

Show:
© 2014 Microsoft