|
|
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# | |
|---|---|
[(.Level1)]
[(Name = "{0}.Config.GetSection", IsDeterministic = true)]
public static GetConfigSettings(
context,
string configFileLocation,
string path
) | |
| Visual Basic (Declaration) | |
|---|---|
<(.Level1)> _
<(Name := "{0}.Config.GetSection", IsDeterministic := True)> _
Public Shared Function GetConfigSettings ( _
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