AddInitializer()

List::AddInitializer(int, const T) method

Adds elements to list; used when translating initializers.

void System::Collections::Generic::List<T>::AddInitializer(int size, const T inits[])

Arguments

ParameterTypeDescription
sizeintNumber of elements to insert.
initsconst TElements to insert.

See Also