Share via


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: String

    Property name to be found.

Return Value

Type: Boolean
True if present.

.NET Framework Security

See Also

Reference

PropertyExpressionObservableCollection Class

Contains Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace