Determines whether an element is in the Array.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Private Function Contains ( _ value As Object _ ) As Boolean Implements IList.Contains
bool IList.Contains( Object value )
This method performs a linear search; therefore, this method is an O(n) operation, where n is ICollection.Count.
This method determines equality by calling the Object.Equals method.
This method is an O(n) operation, where n is Length.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.