Visual Basic (Usage) | ![]() |
---|---|
Dim dirPath As String Dim checkCurrentDirectory As Boolean Dim throwOnError As Boolean Dim createAlways As Boolean Dim value As String value = Utils.GetAbsoluteDirectoryPath(dirPath, checkCurrentDirectory, throwOnError, createAlways) |
C# | |
---|---|
public static string GetAbsoluteDirectoryPath( string dirPath, bool checkCurrentDirectory, bool throwOnError, bool createAlways ) |
Parameters
- dirPath
- checkCurrentDirectory
- throwOnError
- createAlways
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x