팩토리 » Api

xplusreadprofilestring

Description

ini, env 등의 환경파일을 읽어오는 API이다.

Parameters

Parameters Type Description
strSectionName STRING 섹션이름
strKeyName STRING 키이름
strDefault STRING 초기값
strFileName STRING 파일경로

Return Value

Type Description
STRING 파일에서 읽은 데이터값

Remark

전용 브라우저 환경에서만 동작합니다.

Example

function btnreadprofilestring_on_mouseup() { var strEnvfile = factory.getapppath() + "/config/xStudioSync.ini"; var strDB = factory.xplusreadprofilestring("XSYNC", "SVR_IP_ADDR","",strEnvfile); screen.alert(strDB); }

See Also

xpluswriteprofilestring
xplusdeleteprofilekey
deleteprofilesection

Viewer Ver.

9.1.1.1

Update Date

20200813