GXml.BaseCollection.initialize – GXml-0.20 – Vala Binding Reference

GXml.BaseCollection.initialize – GXml-0.20 Reference Manual

# initialize

## Description:

public void initialize (Type items_type) throws Error

Initialize collection to use a given GXml.Collection derived type. Internally, this method create an instance of given type to initialize items_type and items_name.

This method can be used at construction time of classes implementing GXml.Collection to initialize object type to refer in the collection.