PackageGetPackageStringValue Method |
Returns string value from package.ini file.
Namespace: FDF.CommonAssembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax public static string GetPackageStringValue(
string sectionName,
string keyName,
string defaultValue = ""
)
Public Shared Function GetPackageStringValue (
sectionName As String,
keyName As String,
Optional defaultValue As String = ""
) As String
public:
static String^ GetPackageStringValue(
String^ sectionName,
String^ keyName,
String^ defaultValue = L""
)
static member GetPackageStringValue :
sectionName : string *
keyName : string *
?defaultValue : string
(* Defaults:
let _defaultValue = defaultArg defaultValue ""
*)
-> string
Parameters
- sectionName
- Type: SystemString
Name of the INI file section. - keyName
- Type: SystemString
Name of the INI file section key. - defaultValue (Optional)
- Type: SystemString
Default value if no section/key was found.
Return Value
Type:
StringRemarks
Contents of an INI file is governed by installer.
See Also