EasyUA Reference
GetFilePathFromAppConfig Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > ApplicationConfiguration Class : GetFilePathFromAppConfig Method

sectionName
Name of configuration section for the current application's default configuration containing ConfigurationLocation.

Glossary Item Box

Reads the file path from the application configuration file.

Syntax

Visual Basic (Usage)Copy Code
Dim sectionName As String
Dim value As String
 
value = ApplicationConfiguration.GetFilePathFromAppConfig(sectionName)
C# 
public static string GetFilePathFromAppConfig( 
   string sectionName
)

Parameters

sectionName
Name of configuration section for the current application's default configuration containing ConfigurationLocation.

Return Value

File path from the application configuration file.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.