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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RequiresProvidesDirectiveProcessor Class
RequiresProvidesDirectiveProcessor Members
Microsoft.VisualStudio.TextTemplating Namespace
Initialize(ITextTemplatingEngineHost, CompilerErrorCollection)