Share via


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

'Declaration
Protected ReadOnly Property Host As ITextTemplatingEngineHost
'Usage
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.

.NET Framework Security

See Also

Reference

RequiresProvidesDirectiveProcessor Class

RequiresProvidesDirectiveProcessor Members

Microsoft.VisualStudio.TextTemplating Namespace

ITextTemplatingEngineHost

Initialize(ITextTemplatingEngineHost, CompilerErrorCollection)