Type

Ottiene l'identificatore tipo array.

virtual int  Type() const

Valore di ritorno

Identificatore tipo array (per CArrayInt - 82).

Esempio:

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