Share via


UIMap.Contains Method

Indicates whether the provided UI object is in the map.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Function Contains ( _
    uiObject As UIObject _
) As Boolean
public bool Contains(
    UIObject uiObject
)
public:
bool Contains(
    UIObject^ uiObject
)
member Contains : 
        uiObject:UIObject -> bool 
public function Contains(
    uiObject : UIObject
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the object is in the map; otherwise, false.

.NET Framework Security

See Also

Reference

UIMap Class

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace

UIObject