Item Property (ProjectParameters)
The name of the project parameter is passed as string. Is usually used for custom parameter.
Shows accessing project parameters.
// Query custom project parameter
string myParamValue = LL.ProjectParameters["MyParamName"].Value;
// Query e-Mail addressee (predefined project parameter) by a project
string mailTo = LL.ProjectParameters[LlProjectParameter.MailTo].ValueFromProjectFile(@"C:\temp\sample.lst");
' Query custom project parameter
Dim myParamValue As String = LL.ProjectParameters("MyParamName").Value
' Query e-Mail addressee (predefined project parameter) by a project
Dim mailTo As String = LL.ProjectParameters(LlProjectParameter.MailTo).ValueFromProjectFile("C:\temp\sample.lst")
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9