RequiresProvidesDirectiveProcessor.Host 属性

获取与此指令处理器相关联的主机。

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

语法

声明
Protected Property Host As ITextTemplatingEngineHost
protected ITextTemplatingEngineHost Host { get; private set; }
protected:
property ITextTemplatingEngineHost^ Host {
    ITextTemplatingEngineHost^ get ();
    private: void set (ITextTemplatingEngineHost^ value);
}
member Host : ITextTemplatingEngineHost with get, private set
function get Host () : ITextTemplatingEngineHost
private function set Host (value : ITextTemplatingEngineHost)

属性值

类型:Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost
一个 ITextTemplatingEngineHost,它是与此指令处理器相关联的主机。

备注

该主机作为参数传递到 Initialize 方法。

.NET Framework 安全性

请参见

参考

RequiresProvidesDirectiveProcessor 类

Microsoft.VisualStudio.TextTemplating 命名空间

ITextTemplatingEngineHost

Initialize