Type

グラフィックオブジェクト型の識別子を取得します。

virtual int  Type() const

戻り値

オブジェクト型の識別子( 0x8888 は CChartObject

例:

//--- CChartObject::Type の例  
#include <ChartObjects\ChartObject.mqh>  
//---  
void OnStart()  
 {  
  CChartObject object;
  //--- オブジェクトの型を取得する
  int type=object.Type();  
 }