| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal namedElements As IEnumerable(Of SimpleElement) _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim namedElements As IEnumerable(Of SimpleElement) Dim instance As New SimpleElementCollection(namedElements)  | |
| C# | |
|---|---|
public SimpleElementCollection( IEnumerable<SimpleElement> namedElements )  | |
| C++/CLI | |
|---|---|
public: SimpleElementCollection( IEnumerable<SimpleElement^>^ namedElements )  | |
Parameters
- namedElements
 
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family