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>
)
參數
oldState
類型:Microsoft.VisualStudio.Text.Editor.ViewState配置前的檢視狀態。
newState
類型:Microsoft.VisualStudio.Text.Editor.ViewState配置後的檢視狀態。
newOrReformattedLines
類型:IList<ITextViewLine>新增或重新格式化之 ITextViewLine 物件的清單。
translatedLines
類型:IList<ITextViewLine>轉譯之 ITextViewLine 物件的清單。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。