EasyUA Reference
GetAbsoluteFilePath(String,Boolean,Boolean,Boolean) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > Utils Class > GetAbsoluteFilePath Method : GetAbsoluteFilePath(String,Boolean,Boolean,Boolean) Method

filePath
checkCurrentDirectory
throwOnError
createAlways

Glossary Item Box

Checks if the file path is a relative path and returns an absolute path relative to the EXE location.

Syntax

Visual Basic (Usage)Copy Code
Dim filePath As String
Dim checkCurrentDirectory As Boolean
Dim throwOnError As Boolean
Dim createAlways As Boolean
Dim value As String
 
value = Utils.GetAbsoluteFilePath(filePath, checkCurrentDirectory, throwOnError, createAlways)
C# 
public static string GetAbsoluteFilePath( 
   string filePath,
   bool checkCurrentDirectory,
   bool throwOnError,
   bool createAlways
)

Parameters

filePath
checkCurrentDirectory
throwOnError
createAlways

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.