 | ContainerHelperNewList Method (Type, Object) |
Creates a new List of the given value type,
initialized with the content of the old List (clones the old List)
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 8.0beta
Syntaxpublic static IList NewList(
Type valueType,
Object oldList
)
Parameters
- valueType
- Type: SystemType
The value type of the List to be created - oldList
- Type: SystemObject
The old List to be cloned
Return Value
Type:
IListThe newly created List, containing the content of the old List,
null if unsuccessfull
See Also