Export (0) Print
Expand All

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)

[CLSCompliantAttribute(true)]
public interface ITextTemplatingSessionHost

The ITextTemplatingSessionHost type exposes the following members.

  NameDescription
Public propertySessionThe current Session.
Top

  NameDescription
Public methodCreateSessionCreate a Session object that can be used to transmit information into a template. The new Session becomes the current Session.
Top
Show:
© 2015 Microsoft