AccpacSession.GetIniFileKey
Retrieves a value specified in the application's INI file.
Function GetIniFileKey(
AppID As String,
PrimaryKey As String,
SecondaryKey As String,
KeyData As String) As Boolean
Parameters
AppID
[in] the two-letter application ID
PrimaryKey
[in] the primary key, which corresponds to the name of the section where the value is defined
SecondaryKey
[in] the key name of the value, which corresponds to the name of the key where the value is defined
KeyData
[out] returns the key value from the INI file, or the section name if an empty string ("") is passed in as the SecondaryKey
Return Value
Returns whether or not the specified keys are found in the application INI file. If SecondaryKey is an empty string, returns whether or not the section is found.