Type

Ottiene l'identificatore tipo array.

virtual int  Type() const

Valore di ritorno

Tipo identificatore array (for CArrayObj - 7778).

Esempio:

//--- esempio per CArrayObj::Type()
#include <Arrays\ArrayObj.mqh>
//---
void OnStart()
  {
   CArrayObj *array=new CArrayObj;
   //---
   if(array==NULL)
     {
      printf("Errore creazione oggetto");
      return;
     }
   //--- ottiene il tipo dell'array
   int type=array.Type();
   //--- elimina array
   delete array;
  }