Bridge

Object..::..ReferenceEquals Method

Determines whether the specified Object instances are the same instance.

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

Syntax


[TemplateAttribute]
public static bool ReferenceEquals(
	Object a,
	Object b
)
<TemplateAttribute> _
Public Shared Function ReferenceEquals ( _
	a As Object, _
	b As Object _
) As Boolean
[TemplateAttribute]
public:
static bool^ ReferenceEquals(
	Object^ a, 
	Object^ b
)

Parameters

a
Type: System..::..Object
b
Type: System..::..Object

Return Value

true if objA is the same instance as objB or if both are null; otherwise, false.