set_object_type
Description:
[ CCode ( cname = "gck_enumerator_set_object_type_full" ) ]
public void set_object_type (Type object_type, ulong[] attr_types)
public void set_object_type (Type object_type, ulong[] attr_types)
Set the type of objects to be created by this enumerator.
The type must always be either Object or derived from it.
If attr_types
and attr_types.length
are non-NULL and non-zero respectively, then the
ObjectCache interface is expected to be implemented on the derived class, then the
enumerator will retrieve attributes for each object.
Parameters:
this |
an enumerator |
object_type |
the type of objects to create |
attr_types |
types of attributes to retrieve for objects |
attr_count |
the number of attributes to retrieve |