ActionEngineUtilAssureFolder Method
Assure the specified folder path exists and return it to the caller if
so.
Namespace: ActionEngineAssembly: ActionEngine (in ActionEngine.dll) Version: 26.2117.4453
public static DirectoryInfo AssureFolder(
string pathName,
bool create = false,
string message = "",
bool quiet = false
)
Public Shared Function AssureFolder (
pathName As String,
Optional create As Boolean = false,
Optional message As String = "",
Optional quiet As Boolean = false
) As DirectoryInfo
No code example is currently available or this language may not be supported.
- pathName String
-
Full path name of the folder to test for.
- create Boolean (Optional)
-
Value indicating whether to create the path if it doesn't yet exist.
- message String (Optional)
-
Message to display with console messages about this folder.
- quiet Boolean (Optional)
-
Value indicating whether to suppress messages.
DirectoryInfo
Reference to the DirectoryInfo representing the folder if it was
possible that the folder existed. Null if the path led to a file
or was not created.