共用方式為


ModelingTextTransformation.OnSessionChanged 方法 (ITextTemplatingSession, ITextTemplatingSession)

 

發佈時間: 2016年4月

命名空間:   Microsoft.VisualStudio.TextTemplating.VSHost
組件:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (在 Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll 中)

語法

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
)

參數

請參閱

ModelingTextTransformation 類別
Microsoft.VisualStudio.TextTemplating.VSHost 命名空間

回到頁首