ITextTemplating.ProcessTemplate Method
Visual Studio 2010
Process the template file as a design-time template, so as to produce completed output.
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.
For more information, see Invoking Text Transformation in a VS Extension.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.