string ObjectDescription(string name)
Return object description. For objects of OBJ_TEXT and OBJ_LABEL types, the text drawn by these objects will be returned.
オブジェクトの説明を返します。OBJ_TEXT および OBJ_LABEL 型のオブジェクトは、これらのオブジェクトで描画されるテキストが返されます。
To get the detailed error information, one has to call the GetLastError() function.
詳細なエラー情報を受け取るためには、GetLastError() 関数を呼び出さなくてはなりません。
See also ObjectSetText() function.
参照 ObjectSetText() 関数
Parameters:
パラメータ:
1 2  | <b>name</b>   -   Object name.             オブジェクトの名前  | 
Sample:
サンプル:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  | // writing the chart objects list to the file int    handle, total; string obj_name,fname; // file name fname="objlist_"+Symbol(); handle=FileOpen(fname,FILE_CSV|FILE_WRITE); if(handle!=false)   {    total=ObjectsTotal();    for(int i=-;i<total;i++)      {       obj_name=ObjectName(i);       FileWrite(handle,"Object "+obj_name+" description= "+ObjectDescription(obj_name));      }    FileClose(handle);   }  |