IWpfTextViewCreationListener.TextViewCreated 方法
文字檢視,有相符的角色建立具有相符的內容類型的文字資料模型時,會呼叫它。
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
Sub TextViewCreated ( _
textView As IWpfTextView _
)
void TextViewCreated(
IWpfTextView textView
)
void TextViewCreated(
IWpfTextView^ textView
)
abstract TextViewCreated :
textView:IWpfTextView -> unit
function TextViewCreated(
textView : IWpfTextView
)
參數
textView
類型:Microsoft.VisualStudio.Text.Editor.IWpfTextView新建立的文字檢視。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。