ITextTemplatingSessionHost Interface

Definition

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

Session

The current Session.

Methods

CreateSession()

Create a Session object that can be used to transmit information into a template. The new Session becomes the current Session.

Applies to