Type

Gets the type identifier of a list.

virtual int  Type()

戻り値

型の識別子(CList は 7779)

例:

//--- CList::Type() の例
#include <Arrays\List.mqh>
//---
void OnStart()
 {
  CList *list=new CList;
  //---
  if(list==NULL)
    {
    printf("Object create error");
    return;
    }
  //--- リストの型を取得する
  int type=list.Type();
  //--- リストを削除する
  delete list;
 }