Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ITextTemplating Interface

ITextTemplating Interface

The principal interface of the text template transformation service in Visual Studio, STextTemplating.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)

[CLSCompliantAttribute(false)]
public interface ITextTemplating

The ITextTemplating type exposes the following members.

  NameDescription
Public methodBeginErrorSessionSets up/resets the system that causes only unique errors to be logged. Also creates an implicit code generation session.
Public methodEndErrorSessionFinishes a session using the system that causes only unique errors to be logged.
Public methodPreprocessTemplate
Public methodProcessTemplate
Top

ITextTemplating tt = ServiceProvider.GetService(typeof(STextTemplating)) as ITextTemplating;

For more information, see Customizing T4 Text Transformation.

Show:
© 2015 Microsoft