SVGListBase-1.Initialize

SVGListBase<T>.Initialize method

Clears all existing current items from the list and re-initializes the list to hold the single item specified by the parameter.

public T Initialize(T newItem)
ParameterTypeDescription
newItemTThe item which should become the only member of the list.

Return Value

The item being inserted into the list.

Exceptions

exceptioncondition
dOMExceptionCode NO_MODIFICATION_ALLOWED_ERR. Raised when the list cannot be modified.

See Also