UITestControl.PropertyNames.ReferenceEquals Method

Determines whether the two provided object references refer to the same instance.

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

Syntax

'Declaration
Public Shared Function ReferenceEquals ( _
    objA As Object, _
    objB As Object _
) As Boolean
public static bool ReferenceEquals(
    Object objA,
    Object objB
)
public:
static bool ReferenceEquals(
    Object^ objA, 
    Object^ objB
)
static member ReferenceEquals : 
        objA:Object * 
        objB:Object -> bool
public static function ReferenceEquals(
    objA : Object, 
    objB : Object
) : boolean

Parameters

Return Value

Type: Boolean
true if the objects both refer to the same instance; otherwise, false.

.NET Framework Security

See Also

Reference

UITestControl.PropertyNames Class

Microsoft.VisualStudio.TestTools.UITesting Namespace