GetConfigSetting
Use to return the value of a global configuration property.
Syntax
1 |
string <span>GetConfigSetting</span> (string <var>key</var>) |
Parameters
-
key �
A string for the name of a global property in the <appSettings> section of the Web.Config file.
Returns
String. Returns the value of the global property passed in the key parameter.
Examples
-
�
This code returns “N/A” for not applicable if the global property “myKey” is not found:12345678string v, kk = "myKey"#if defined PBWEBFORM thenv = GetConfigSetting(k)#elsev = "N/A"#end if
Parent topic: System Functions for .NET Web Forms
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest