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



item
Object to add.
Adds the specified item to the end of the collection.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Add( _
   ByVal item As T _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCollection(Of T)
Dim item As T
 
instance.Add(item)
C# 
public virtual void Add( 
   T item
)
C++/CLI 
public:
virtual void Add( 
   T item
) 

Parameters

item
Object to add.

Return Value

The index of the newly added item.

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