Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.UITestControlThe UITestControl to locate in the UITestControlCollection.
Return Value
Type: Boolean
true if the UITestControlCollection contains the specified UITestControl; otherwise, false.
Implements
ICollection.Contains(UTP)
.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.