TextTransformation.Session Property


Gets or sets the current session. A session represents a series of transformations that are executed within the same user command. The session object can be used to transmit information into the code of a text template.

Namespace:   Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating.12.0 (in Microsoft.VisualStudio.TextTemplating.12.0.dll)

public virtual IDictionary<stringobject> Session { get; set; }

Property Value

Type: System.Collections.Generic.IDictionary<StringObject>

A dictionary that maps key strings to arbitrary objects.

Return to top