Partilhar via


ITextTemplatingSessionHost.CreateSession Method

Definition

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

public:
 Microsoft::VisualStudio::TextTemplating::ITextTemplatingSession ^ CreateSession();
public Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession CreateSession ();
abstract member CreateSession : unit -> Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession
Public Function CreateSession () As ITextTemplatingSession

Returns

A new Session

Applies to