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

(Created page with "Boolean(布尔值:success或者 failure)")
(Created page with "= 示例用法 =")
Line 16: Line 16:
 
Boolean(布尔值:success或者 failure)
 
Boolean(布尔值:success或者 failure)
  
= Example Usage =
+
= 示例用法 =
  
 
  // C#
 
  // C#

Revision as of 02:41, 21 October 2015

ADE User Guide > ADE Server Class Reference > CAEngine

Other languages:
English • ‎中文

SaveModuleFile(modName, filePath)

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

参 数

modName:string(字符串)—— 模块的标识符
filePath:string(字符串)——与 CurrentModelDirectory相关

返回值

Boolean(布尔值:success或者 failure)

示例用法

// 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.