共用方式為


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
)

參數

.NET Framework 安全性

請參閱

參考

IWpfTextViewCreationListener 介面

Microsoft.VisualStudio.Text.Editor 命名空間