Type

Erhält die Array-Typ-Identifikator.

virtual int  Type() const

Rückgabewert

Identifikator vom Arraytyp (für CArrayObj - 7778).

Beispiel:

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