Partager via


ModelingTextTransformation.OnSessionChanged Method (ITextTemplatingSession, ITextTemplatingSession)

 

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

Syntax

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 Overridable Sub OnSessionChanged (
    oldSession As ITextTemplatingSession,
    newSession As ITextTemplatingSession
)

Parameters

See Also

ModelingTextTransformation Class
Microsoft.VisualStudio.TextTemplating.VSHost Namespace

Return to top