Object.ReferenceEquals(Object) Method

Top 

Description

Returns 1 if the argument refers to the calling object and 0 otherwise.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Object.ReferenceEquals(

Object object)

 

 

Arguments

object


Description:

The object to test against the calling object.

 

 

 

Return Value

Type:

boolean

 

 

Returns the result of the comparison.

 

Syntax

myVariable1 = myObject1.ReferenceEquals(myObject2);

 

 

See also

Object Object