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

dirPath
checkCurrentDirectory
throwOnError

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 dirPath As String
Dim checkCurrentDirectory As Boolean
Dim throwOnError As Boolean
Dim value As String
 
value = Utils.GetAbsoluteDirectoryPath(dirPath, checkCurrentDirectory, throwOnError)
C# 
public static string GetAbsoluteDirectoryPath( 
   string dirPath,
   bool checkCurrentDirectory,
   bool throwOnError
)

Parameters

dirPath
checkCurrentDirectory
throwOnError

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.