RequiresProvidesDirectiveProcessor.Host Property

Gets the host that is associated with this directive processor.

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating (in Microsoft.VisualStudio.TextTemplating.dll)

Syntax

'宣言
Protected ReadOnly Property Host As ITextTemplatingEngineHost
'使用
Dim value As ITextTemplatingEngineHost

value = Me.Host
protected ITextTemplatingEngineHost Host { get; }
protected:
property ITextTemplatingEngineHost^ Host {
    ITextTemplatingEngineHost^ get ();
}
protected function get Host () : ITextTemplatingEngineHost

Property Value

Type: Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost

An ITextTemplatingEngineHost that is the host that is associated with this directive processor.

Remarks

The host is passed as an argument to the Initialize(ITextTemplatingEngineHost, CompilerErrorCollection) method.

Permissions

See Also

Reference

RequiresProvidesDirectiveProcessor Class

RequiresProvidesDirectiveProcessor Members

Microsoft.VisualStudio.TextTemplating Namespace

ITextTemplatingEngineHost

Initialize(ITextTemplatingEngineHost, CompilerErrorCollection)