Compares this object to another, based on specified options.
Assembly: System.Management (in System.Management.dll)
member CompareTo : otherObject:ManagementBaseObject * settings:ComparisonSettings -> bool
- Type: System.Management.ManagementBaseObject
The object to which to compare this object.
- Type: System.Management.ComparisonSettings
Options on how to compare the objects.
Return ValueType: 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.