팩토리 » Api
  
xplusdeleteprofilesection
  
Description
ini, env 등 환경 파일의 섹션을 삭제하는 API이다.
 
  
Parameters
  
    
      | Parameters | 
      Type | 
      Description | 
    
  
  
        
    
        | strSectionName | 
        STRING | 
 	섹션이름 | 
      
    
    
        | strFileName | 
        STRING | 
 	파일경로 | 
      
  
  
Return Value
  
    
      | Type | 
      Description | 
    
  
  
    
      | BOOL | 
      삭제 성공 여부(true, false) | 
    
  
Remark
  
Example
function btn_deleteprofilesection_on_mouseup()
{
	var envfile = factory.getapppath() + "/config/envfile.ini";
	var iRet = factory.xplusdeleteprofilesection("TESTENV", envfile);
	if(iRet) {
		screen.alert("섹션삭제성공");
	} else {
		screen.alert("섹션삭제실패");
	}
}
  
See Also
xplusdeleteprofilekey
xpluswriteprofilestring
readprofilestring
  
Viewer Ver.
9.1.1.1
  
Update Date
 20200813