ITextTemplatingComponents.InputFile 属性

获取或设置模板文件名,也就是报告错误时的主机引用。 可以为空。

命名空间:  Microsoft.VisualStudio.TextTemplating.VSHost
程序集:  Microsoft.VisualStudio.TextTemplating.Interfaces.10.0(在 Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll 中)

语法

声明
Property InputFile As String
    Get
    Set
string InputFile { get; set; }
property String^ InputFile {
    String^ get ();
    void set (String^ value);
}
abstract InputFile : string with get, set
function get InputFile () : String
function set InputFile (value : String)

属性值

类型:System.String

备注

请参见 Host 中的示例。

.NET Framework 安全性

请参见

参考

ITextTemplatingComponents 接口

Microsoft.VisualStudio.TextTemplating.VSHost 命名空间