The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UIObject::Contains Method
Indicates whether the UI object that is identified by the provided ID is contained among the descendents of this UI object.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Parameters
- objectId
- Type: System::String
A UI object ID.
Return Value
Type: System::Booleantrue if the identified UI object is contained among the descendents; otherwise, false.
- 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.
Show: