PropertyExpressionObservableCollection.Contains 方法 (PropertyExpression)

选定具有相同的名称、值和运算符的 PropertyExpression 是否存在于集合

命名空间:  Microsoft.VisualStudio.TestTools.UITesting
程序集:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)

语法

声明
Public Function Contains ( _
    item As PropertyExpression _
) As Boolean
public bool Contains(
    PropertyExpression item
)
public:
bool Contains(
    PropertyExpression^ item
)
member Contains : 
        item:PropertyExpression -> bool
public function Contains(
    item : PropertyExpression
) : boolean

参数

返回值

类型:Boolean
如果存在为 true。

.NET Framework 安全性

请参阅

参考

PropertyExpressionObservableCollection 类

Contains 重载

Microsoft.VisualStudio.TestTools.UITesting 命名空间