This topic has not yet been rated - Rate this topic

TextTransformation.Session Property

Visual Studio 2010

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.10.0 (in Microsoft.VisualStudio.TextTemplating.10.0.dll)
public virtual IDictionary<string, Object> Session { get; set; }

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>
A dictionary that maps key strings to arbitrary objects.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Advertisement