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