ModelingTextTransformation.OnSessionChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fires whenever a session is provided that isn't the same as the last remembered session.
protected virtual void OnSessionChanged (Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession oldSession, Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession newSession);
abstract member OnSessionChanged : Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession * Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession -> unit
override this.OnSessionChanged : Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession * Microsoft.VisualStudio.TextTemplating.ITextTemplatingSession -> unit
Protected Overridable Sub OnSessionChanged (oldSession As ITextTemplatingSession, newSession As ITextTemplatingSession)
Parameters
- oldSession
- ITextTemplatingSession
- newSession
- ITextTemplatingSession
Remarks
Null is a valid value for either parameter. Base class implementation is a no-op