Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Overridable Property Session As IDictionary(Of String, Object)
public virtual IDictionary<string, Object> Session { get; set; }
public:
virtual property IDictionary<String^, Object^>^ Session {
IDictionary<String^, Object^>^ get ();
void set (IDictionary<String^, Object^>^ value);
}
abstract Session : IDictionary<string, Object> with get, set
override Session : IDictionary<string, Object> with get, set
function get Session () : IDictionary<String, Object>
function set Session (value : IDictionary<String, Object>)
Property Value
Type: System.Collections.Generic.IDictionary<String, Object>
A dictionary that maps key strings to arbitrary objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.