| Visual Basic (Usage) | Copy Code |
|---|---|
Dim collection As IEnumerable(Of XmlElement) Dim instance As New XmlElementCollection(collection) | |
| C# | |
|---|---|
public XmlElementCollection( IEnumerable<XmlElement> collection ) | |
Parameters
- collection
- A collection of XmlElement's to add to this collection
Initializes the collection from another collection.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x