ITextTemplatingEngineHost.LoadIncludeText(String, String, String) Method

Definition

Acquires the text that corresponds to a request to include a partial text template file.

C++
public:
 bool LoadIncludeText(System::String ^ requestFileName, [Runtime::InteropServices::Out] System::String ^ % content, [Runtime::InteropServices::Out] System::String ^ % location);

Parameters

requestFileName
String

The name of the partial text template file to acquire.

content
String

A String that contains the acquired text or Empty if the file could not be found.

location
String

A String that contains the location of the acquired text. If the host searches the registry for the location of include files or if the host searches multiple locations by default, the host can return the final path of the include file in this parameter. The host can set the location to Empty if the file could not be found or if the host is not file-system based.

Returns

true to indicate that the host was able to acquire the text; otherwise, false.

Applies to

Product Versions
Visual Studio SDK 2019, 2022