PropertyExpressionObservableCollection.Contains Method (String)
Check whether the given property is present in the collection
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Function Contains ( _
propertyName As String _
) As Boolean
public bool Contains(
string propertyName
)
public:
bool Contains(
String^ propertyName
)
member Contains :
propertyName:string -> bool
public function Contains(
propertyName : String
) : boolean
Parameters
propertyName
Type: StringProperty name to be found.
Return Value
Type: Boolean
True if present.
.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.