Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Interface ITextTemplating
[CLSCompliantAttribute(false)]
public interface ITextTemplating
[CLSCompliantAttribute(false)]
public interface class ITextTemplating
[<CLSCompliantAttribute(false)>]
type ITextTemplating = interface end
public interface ITextTemplating
The ITextTemplating type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
BeginErrorSession | Sets up/resets the system that causes only unique errors to be logged. Also creates an implicit code generation session. |
![]() |
EndErrorSession | Finishes a session using the system that causes only unique errors to be logged. |
![]() |
PreprocessTemplate | |
![]() |
ProcessTemplate |
Top
Examples
ITextTemplating tt = ServiceProvider.GetService(typeof(STextTemplating)) as ITextTemplating;
For more information, see Customizing T4 Text Transformation.
.gif)