Partager via


RequiresProvidesDirectiveProcessor.Host Property

Gets the host that is associated with this directive processor.

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

Syntax

'Declaration
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)

Property Value

Type: 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 method.

.NET Framework Security

See Also

Reference

RequiresProvidesDirectiveProcessor Class

Microsoft.VisualStudio.TextTemplating Namespace

ITextTemplatingEngineHost

Initialize