Navigation
API > API/Runtime > API/Runtime/XmlParser > API/Runtime/XmlParser/FXmlFile
Description
Loads the file with the passed path. Path is either treated as a filename to open, or as a text buffer to load.
| Name | LoadFile |
| Type | function |
| Header File | /Engine/Source/Runtime/XmlParser/Public/XmlFile.h |
| Include Path | #include "XmlFile.h" |
| Source | /Engine/Source/Runtime/XmlParser/Private/XmlFile.cpp |
bool LoadFile
(
const FString & Path,
EConstructMethod::Type ConstructMethod
)
Parameters
| Name | Remarks |
|---|---|
| Path | The path/text to use |
| ConstructMethod | Whether to load a file of use the string as a buffer of xml data |