UITestControlProperties.Common.ReferenceEquals Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether the specified Object instances are the same instance.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)


Public Shared Function ReferenceEquals ( _
    objA As Object, _
    objB As Object _
) As Boolean
Dim objA As Object
Dim objB As Object
Dim returnValue As Boolean

returnValue = UITestControlProperties..::..Common.ReferenceEquals(objA, _
public static bool ReferenceEquals(
    Object objA,
    Object objB
static bool ReferenceEquals(
    Object^ objA, 
    Object^ objB
static member ReferenceEquals : 
        objA:Object * 
        objB:Object -> bool 
public static function ReferenceEquals(
    objA : Object, 
    objB : Object
) : boolean


Return Value

Type: System.Boolean
true if objA is the same instance as objB or if both are nulla null reference (Nothing in Visual Basic) references; otherwise, false.

.NET Framework Security

See Also


UITestControlProperties.Common Class

UITestControlProperties.Common Members

Microsoft.VisualStudio.TestTools.UITesting Namespace