Returns string value from package.ini file.


Namespace: FDF.Common
Assembly: FDF.Common (in FDF.Common.dll)

Syntax

Visual Basic (Declaration)
PublicSharedFunctionGetPackageStringValue(_
ByValsectionNameAsString, _
ByValkeyNameAsString, _
Optional ByValdefaultValueAsString = ""_
)AsString
C#
publicstaticstringGetPackageStringValue(
stringsectionName,
stringkeyName,
[OptionalAttribute]stringdefaultValue
)
C++
public:
staticStringGetPackageStringValue(
StringsectionName,
StringkeyName,
[OptionalAttribute]StringdefaultValue
)
J#
publicstaticstringGetPackageStringValue(
stringsectionName,
stringkeyName,
/** @attribute OptionalAttribute() */stringdefaultValue
)
JScript
publicstatic functionGetPackageStringValue(
sectionName:String,
keyName:String,
OptionalAttributedefaultValue:String
):String

Parameters

sectionName
Name of the INI file section.
keyName
Name of the INI file section key.
defaultValue
Default value if no section/key was found.

Remarks

Contents of an INI file is governed by installer.

See Also