2 out of 2 rated this helpful - Rate this topic

ITextTemplating.ProcessTemplate Method

Visual Studio 2010

Process the template file as a design-time template, so as to produce completed output.

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)
string ProcessTemplate(
	string inputFile,
	string content,
	ITextTemplatingCallback callback,
	Object hierarchy
)

Parameters

inputFile
Type: System.String
The filename of the template, for reference in error reports. Optional.
content
Type: System.String
The text of the template.
callback
Type: Microsoft.VisualStudio.TextTemplating.VSHost.ITextTemplatingCallback
A class that you provide to handle error messages. Optional.
hierarchy
Type: System.Object
The location of the template file in the Visual Studio solution hierarchy, for error reports. Optional.

Return Value

Type: System.String
The text generated by the template..
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Advertisement