【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.38.13 Project::DeleteOperation
Contents
Description
Remove an Operation from project
Syntax
BOOL DeleteOperation( OperationBase * op, BOOL bRemoveFromOperationList = FALSE )
Parameters
- op
- [input]the OperationBase object
- bRemoveFromOperationList
- [input]defaut value is FALSE
Return
Examples
OperationBase* pOperation; void Project_DeleteOperation_Ex1() { string strFileName = GetAppPath(true) + "OriginC\\Originlab\\FitNL.cpp"; string strClass = "FitNL"; pOperation = Project.NewOperation(strClass, strFileName); //create an operation and add to project's operation list Project.DeleteOperation(pOperation); }
Remark
See Also
Project::CreateClass, Project::NewOperation
Header to Include
origin.h