| 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
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x