←Select platform

AddRange Method

Summary

Adds the elements of an ICollection to the end of the collection.

Syntax

C#
VB
C++
public virtual void AddRange(  
   ICollection<T> collection 
) 
Public Overridable Sub AddRange( _ 
   ByVal collection As ICollection(Of T) _ 
)  
public: 
virtual void AddRange(  
   ICollection<T^>^ collection 
)  

Parameters

collection
The ICollection whose elements should be added to the end of the collection.

Remarks

The collection itself cannot be a null reference, but it can contain elements that are a null reference (Nothing).

Example

For an example, refer to RasterCollection\<T\>.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize