Gets the value of the specified config option.
Namespace:
Aloe.EnterpriseOne.Model.General
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static string GetValue(
ObjectTransaction transaction,
string optionName,
string defaultValue = null
)
Public Shared Function GetValue (
transaction As ObjectTransaction,
optionName As String,
Optional defaultValue As String = Nothing
) As String
public:
static String^ GetValue(
ObjectTransaction^ transaction,
String^ optionName,
String^ defaultValue = nullptr
)
static member GetValue :
transaction : ObjectTransaction *
optionName : string *
?defaultValue : string
(* Defaults:
let _defaultValue = defaultArg defaultValue null
*)
-> string
Parameters
- transaction
- Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction. - optionName
- Type: SystemString
Name of the option. - defaultValue (Optional)
- Type: SystemString
The default value to return if the option is not found.
Return Value
Type:
String
See Also