![]() |
PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns information from a config file
Namespace: Smartsite.Runtime.Modules
Assembly:
Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
C# | ![]() |
---|---|
[(Name = "{0}.Config.GetValue", IsDeterministic = true)] [(.Level1)] public static string GetConfigSetting( context, string configFileLocation, string path ) |
Visual Basic (Declaration) | ![]() |
---|---|
<(Name := "{0}.Config.GetValue", IsDeterministic := True)> _ <(.Level1)> _ Public Shared Function GetConfigSetting ( _ context As , _ configFileLocation As , _ path As _ ) As |
Parameters
- context
- IContext
The context.
- configFileLocation
- String
The location of the config file.
- path
- String
XPath location of the desired information in the config file. Use the prefix c: for the .NetConfiguration namespace.
Return Value
The string value located at the given XPath location
See Also
SiteViperModule Class
Smartsite.Runtime.Modules Namespace