Partager via


ModelingTextTransformation.OnSessionChanged Method

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

Syntax

'Declaration
Protected Overridable Sub OnSessionChanged ( _
    oldSession As ITextTemplatingSession, _
    newSession As ITextTemplatingSession _
)
protected virtual void OnSessionChanged(
    ITextTemplatingSession oldSession,
    ITextTemplatingSession newSession
)
protected:
virtual void OnSessionChanged(
    ITextTemplatingSession^ oldSession, 
    ITextTemplatingSession^ newSession
)
abstract OnSessionChanged : 
        oldSession:ITextTemplatingSession * 
        newSession:ITextTemplatingSession -> unit  
override OnSessionChanged : 
        oldSession:ITextTemplatingSession * 
        newSession:ITextTemplatingSession -> unit
protected function OnSessionChanged(
    oldSession : ITextTemplatingSession, 
    newSession : ITextTemplatingSession
)

Parameters

  • oldSession
    Type: ITextTemplatingSession
  • newSession
    Type: ITextTemplatingSession

.NET Framework Security

See Also

Reference

ModelingTextTransformation Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace