共用方式為


TextViewLayoutChangedEventArgs 建構函式

初始化 TextViewLayoutChangedEventArgs 的新執行個體。

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Public Sub New ( _
    oldState As ViewState, _
    newState As ViewState, _
    newOrReformattedLines As IList(Of ITextViewLine), _
    translatedLines As IList(Of ITextViewLine) _
)
public TextViewLayoutChangedEventArgs(
    ViewState oldState,
    ViewState newState,
    IList<ITextViewLine> newOrReformattedLines,
    IList<ITextViewLine> translatedLines
)
public:
TextViewLayoutChangedEventArgs(
    ViewState^ oldState, 
    ViewState^ newState, 
    IList<ITextViewLine^>^ newOrReformattedLines, 
    IList<ITextViewLine^>^ translatedLines
)
new : 
        oldState:ViewState * 
        newState:ViewState * 
        newOrReformattedLines:IList<ITextViewLine> * 
        translatedLines:IList<ITextViewLine> -> TextViewLayoutChangedEventArgs
public function TextViewLayoutChangedEventArgs(
    oldState : ViewState, 
    newState : ViewState, 
    newOrReformattedLines : IList<ITextViewLine>, 
    translatedLines : IList<ITextViewLine>
)

參數

.NET Framework 安全性

請參閱

參考

TextViewLayoutChangedEventArgs 類別

Microsoft.VisualStudio.Text.Editor 命名空間