Share via


RequiresProvidesDirectiveProcessor.Host Property

Gets the host that is associated with this directive processor.

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

Syntax

'Declaration
Protected ReadOnly Property Host As ITextTemplatingEngineHost
protected ITextTemplatingEngineHost Host { get; }
protected:
property ITextTemplatingEngineHost^ Host {
    ITextTemplatingEngineHost^ get ();
}
member Host : ITextTemplatingEngineHost
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.

.NET Framework Security

See Also

Reference

RequiresProvidesDirectiveProcessor Class

Microsoft.VisualStudio.TextTemplating Namespace

ITextTemplatingEngineHost

Initialize(ITextTemplatingEngineHost, CompilerErrorCollection)