Chili.Opf3 Send comments on this topic.
Contains Method
See Also 
Chili.Opf3 Namespace > Generic ObjectSet Class : Contains Method




item
The object to located in the ObjectSet.
Determines whether the ObjectSet contains a specific object.

Syntax

Visual Basic (Declaration) 
Public Function Contains( _
   ByVal item As T _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ObjectSet(Of T)
Dim item As T
Dim value As Boolean
 
value = instance.Contains(item)
C# 
public bool Contains( 
   T item
)
Managed Extensions for C++ 
public: bool Contains( 
   T item
) 
C++/CLI 
public:
bool Contains( 
   T item
) 

Parameters

item
The object to located in the ObjectSet.

Return Value

True, if item is found in the ObjectSet; otherwise, false.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also