Object::ReferenceEquals Method
Collapse the table of content
Expand the table of content

Object::ReferenceEquals Method

 

Determines whether the specified Object instances are the same instance.

public:static bool ReferenceEquals(  Object^ obj1,   Object^ obj2)

obj1

The first object to compare.

obj2

The second object to compare.

true if the two objects are the same; otherwise, false.

Requirements

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Header: vccorlib.h

Show:
© 2017 Microsoft