Type

Erhält die Identifikator des Listentyps.

virtual int  Type()

Rückgabewert

Identifikator vom Listentyp (für CList - 7779).

Beispiel:

//--- example for CList::Type() 
#include <Arrays\List.mqh> 
//--- 
void OnStart() 
  { 
   CList *list=new CList; 
   //--- 
   if(list==NULL
     { 
      printf("Object create error"); 
      return
     } 
   //--- get list type 
   int type=list.Type(); 
   //--- delete list 
   delete list; 
  }