Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ITextTemplatingSessionHost Interface

Definition

Namespace:
Microsoft.VisualStudio.TextTemplating
Assembly:
Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll
Package:
Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 v17.0.32112.339

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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.

public interface class ITextTemplatingSessionHost
[System.CLSCompliant(true)]
public interface ITextTemplatingSessionHost
[<System.CLSCompliant(true)>]
type ITextTemplatingSessionHost = interface
Public Interface ITextTemplatingSessionHost
Attributes

Properties

Name Description
Session

The current Session.

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.

Applies to