Export (0) Print
Expand All

ManagementBaseObject.CompareTo Method

Compares this object to another, based on specified options.

Namespace:  System.Management
Assembly:  System.Management (in System.Management.dll)

member CompareTo : 
        otherObject:ManagementBaseObject * 
        settings:ComparisonSettings -> bool

Parameters

otherObject
Type: System.Management.ManagementBaseObject

The object to which to compare this object.

settings
Type: System.Management.ComparisonSettings

Options on how to compare the objects.

Return Value

Type: System.Boolean
true if the objects compared are equal according to the given options; otherwise, false.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft