CompareTo Method

ManagementBaseObject::CompareTo Method (ManagementBaseObject^, ComparisonSettings)

 

Compares this object to another, based on specified options.

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

public:
bool CompareTo(
	ManagementBaseObject^ otherObject,
	ComparisonSettings settings
)

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.

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
Available since 1.1
Return to top
Show:
© 2016 Microsoft