Filtertype and Filtervalue

I just started with IntelliCAD. I try to apply a filter in a select statement in C++ to select all elements of one single Layer of a dwg. The documentation tells me to supply 2 parameters Filtertype and Filtervalue, but i could not figure out what should be passed to solve my problem.