FXmlFile::LoadFile

Loads the file with the passed path.

Windows
MacOS
Linux

References

Module

XmlParser

Header

/Engine/Source/Runtime/XmlParser/Public/XmlFile.h

Include

#include "XmlFile.h"

Source

/Engine/Source/Runtime/XmlParser/Private/XmlFile.cpp

Syntax

bool LoadFile
(
    const FString & Path,
    EConstructMethod::Type ConstructMethod
)

Remarks

Loads the file with the passed path. Path is either treated as a filename to open, or as a text buffer to load.

Parameters

Parameter

Description

Path

The path/text to use

ConstructMethod

Whether to load a file of use the string as a buffer of xml data

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss