Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FFileHelper
Description
Checks to see if a filename is valid for saving. A filename must be under FPlatformMisc::GetMaxPathLength() to be saved
| Name | IsFilenameValidForSaving |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/FileHelper.h |
| Include Path | #include "Misc/FileHelper.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/FileHelper.cpp |
static bool IsFilenameValidForSaving
(
const FString & Filename,
FText & OutError
)
Parameters
| Name | Remarks |
|---|---|
| Filename | Filename, with or without path information, to check. |
| OutError | If an error occurs, this is the reason why |