STextTemplating 接口
Visual Studio 中的文本模板转换服务。
命名空间: Microsoft.VisualStudio.TextTemplating.VSHost
程序集: Microsoft.VisualStudio.TextTemplating.Interfaces.10.0(在 Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll 中)
语法
声明
<GuidAttribute("508349B6-6B84-4df5-91F0-309BEEBAD82D")> _
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(True)> _
Public Interface STextTemplating
[GuidAttribute("508349B6-6B84-4df5-91F0-309BEEBAD82D")]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(true)]
public interface STextTemplating
[GuidAttribute(L"508349B6-6B84-4df5-91F0-309BEEBAD82D")]
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(true)]
public interface class STextTemplating
[<GuidAttribute("508349B6-6B84-4df5-91F0-309BEEBAD82D")>]
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(true)>]
type STextTemplating = interface end
public interface STextTemplating
备注
有关更多信息,请参见 自定义 T4 文本转换。
示例
ITextTemplating tt = ServiceProvider.GetService(typeof(STextTemplating)) as ITextTemplating;