Set DocumentationContains Method
Determines whether the ICollectionT contains a specific value.
Definition
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
if item is found in the ICollectionT; otherwise, .
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
public bool Contains(
int item
)VB
Public Function Contains (
item As Integer
) As BooleanC++
public:
virtual bool Contains(
int item
) sealedF#
abstract Contains :
item : int -> bool
override Contains :
item : int -> bool Parameters
- item Int32
- The object to locate in the ICollectionT.
Return Value
Booleanif item is found in the ICollectionT; otherwise, .