ITextTemplatingSessionHost Interface
Implemented by a text templating host, enabling callers to obtain an object denoting the current session. A session represents series of executions of text templates. The session object can be used to pass information from the host into the code of the text template.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Interface ITextTemplatingSessionHost
[CLSCompliantAttribute(true)]
public interface ITextTemplatingSessionHost
[CLSCompliantAttribute(true)]
public interface class ITextTemplatingSessionHost
[<CLSCompliantAttribute(true)>]
type ITextTemplatingSessionHost = interface end
public interface ITextTemplatingSessionHost
The ITextTemplatingSessionHost type exposes the following members.
Properties
Name | Description | |
---|---|---|
Session | The current Session. |
Top
Methods
Name | Description | |
---|---|---|
CreateSession | Create a Session object that can be used to transmit information into a template. The new Session becomes the current Session. |
Top