Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Contains Method
See Also 
Leadtools Namespace > Generic RasterCollection Class : Contains Method



item
Object to test.
Determines whether or not the specified item is contained in the collection.

Syntax

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

Parameters

item
Object to test.

Return Value

true if the item is found in the collection, false otherwise.

Example

For an example, refer to Generic RasterCollection.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also