C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.Collections.ObjectModel
Collection(T) Class
Collection(T) Methods
Add Method
Clear Method
ClearItems Method
Contains Method
CopyTo Method
GetEnumerator Method
IndexOf Method
Insert Method
InsertItem Method
Remove Method
RemoveAt Method
RemoveItem Method
SetItem Method
Collection
T
Contains Method
Determines whether an element is in the
Collection
T
.
Namespace:
System.Collections.ObjectModel
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
bool
Contains
( T
item
)
Parameters
item
Type:
T
The object to locate in the
Collection
T
. The value can be null for reference types.
Return Value
Type:
Boolean
true if
item
is found in the
Collection
T
; otherwise, false.
Implements
ICollection
T
Contains(T)
See Also
Reference
Collection
T
Class
System.Collections.ObjectModel Namespace