Windows desktop applications
Collapse the table of content
Expand the table of content
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.

LanguagePrimitives.Equals Method (Object, Object)


Updated: April 27, 2016

Applies To: Windows PowerShell

Determines whether two objects are equal.

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

public static bool Equals(
	object first,
	object second


Type: System.Object

The object to compare to.

Type: System.Object

The object that the first parameter object is compared to.

Return Value

Type: System.Boolean

A Boolean: true if the first object is equal to the second object; otherwise, false.

Return to top

Community Additions

© 2016 Microsoft