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.

ManagementBaseObject.CompareTo Method

Compares this object to another, based on specified options.

[Visual Basic]
Public Function CompareTo( _
   ByVal otherObject As ManagementBaseObject, _
   ByVal settings As ComparisonSettings _
) As Boolean
[C#]
public bool CompareTo(
 ManagementBaseObject otherObject,
 ComparisonSettings settings
);
[C++]
public: bool CompareTo(
 ManagementBaseObject* otherObject,
 ComparisonSettings settings
);
[JScript]
public function CompareTo(
   otherObject : ManagementBaseObject,
 settings : ComparisonSettings
) : Boolean;

Parameters

otherObject
The object to which to compare this object.
settings
Options on how to compare the objects.

Return Value

true if the objects compared are equal according to the given options; 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 Framework Security: 

See Also

ManagementBaseObject Class | ManagementBaseObject Members | System.Management Namespace

Show: