Difference between revisions of "CAEngine::SaveModuleFile/zh"

(Created page with "将标识符为modName的模块保存到«filePath»文件中。")
(Created page with "= 参 数 =")
Line 7: Line 7:
 
将标识符为modName的模块保存到«filePath»文件中。
 
将标识符为modName的模块保存到«filePath»文件中。
  
= Parameters =
+
= 参 数 =
  
 
;modName: string - the module's identifier
 
;modName: string - the module's identifier

Revision as of 02:40, 21 October 2015

ADE User Guide > ADE Server Class Reference > CAEngine

Other languages:
English • ‎中文

SaveModuleFile(modName, filePath)

将标识符为modName的模块保存到«filePath»文件中。

参 数

modName
string - the module's identifier
filePath
string - relative to CurrentModelDirectory

Return value

Boolean (success or failure)

Example Usage

// C#
bool b = ade.SaveModuleFile("Function_lib", "C:\TEMP\NEWMOD.ANA");

ErrorCodes

  • 41 – “Invalid name for object”
  • 46 – “Module could not be saved”
Comments


You are not allowed to post comments.