Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- uiObject
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
A UIObject object.
Return Value
Type: System.Boolean
true if the object is in the map; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace