- collection
- The System.Collections.ICollection whose elements should be added to the end of the collection.
| Visual Basic (Declaration) | |
|---|---|
Public Overridable Sub AddRange( _ ByVal collection As ICollection(Of Medical3DObject) _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Medical3DObjectCollection(Of Medical3DObject) Dim collection As ICollection(Of Medical3DObject) instance.AddRange(collection) | |
| C# | |
|---|---|
public virtual void AddRange( ICollection<Medical3DObject> collection ) | |
| C++/CLI | |
|---|---|
public: virtual void AddRange( ICollection<Medical3DObject^>^ collection ) | |
Parameters
- collection
- The System.Collections.ICollection whose elements should be added to the end of the collection.
For an example, refer to RasterCollection.
The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference (Nothing).
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code