Click or drag to resize

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
Syntax
C#
public 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: IList
The newly created List, containing the content of the old List, null if unsuccessfull
See Also