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.
Determines whether the UITestControlCollection contains a specific UITestControl.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function Contains ( _
item As UITestControl _
) As Boolean
public bool Contains(
UITestControl item
)
public:
virtual bool Contains(
UITestControl^ item
) sealed
abstract Contains :
item:UITestControl -> bool
override Contains :
item:UITestControl -> bool
public final function Contains(
item : UITestControl
) : boolean
Parameters
- item
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The UITestControl to locate in the UITestControlCollection.
Return Value
Type: System.Boolean
true if the UITestControlCollection contains the specified UITestControl; otherwise, false.
Implements
.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.