PropertyExpressionCollection.Contains-Methode (PropertyExpression)
Bestimmt, ob die Auflistung das bereitgestellte Eigenschaftsausdruckobjekt enthält.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Function Contains ( _
item As PropertyExpression _
) As Boolean
public bool Contains(
PropertyExpression item
)
public:
virtual bool Contains(
PropertyExpression^ item
) sealed
abstract Contains :
item:PropertyExpression -> bool
override Contains :
item:PropertyExpression -> bool
public final function Contains(
item : PropertyExpression
) : boolean
Parameter
item
Typ: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionEin PropertyExpression-Objekt.
Rückgabewert
Typ: Boolean
true , wenn die Auflistung das bereitgestellte Eigenschaftsausdruckobjekt enthält, andernfalls false.
Implementiert
ICollection.Contains(UTP)
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
PropertyExpressionCollection Klasse