ILineTransformSourceProvider.Create 方法
會建立ILineTransformSource指定的文字檢視。
命名空間: Microsoft.VisualStudio.Text.Formatting
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
Function Create ( _
textView As IWpfTextView _
) As ILineTransformSource
ILineTransformSource Create(
IWpfTextView textView
)
ILineTransformSource^ Create(
IWpfTextView^ textView
)
abstract Create :
textView:IWpfTextView -> ILineTransformSource
function Create(
textView : IWpfTextView
) : ILineTransformSource
參數
textView
類型:Microsoft.VisualStudio.Text.Editor.IWpfTextViewILineTransformSource 將於其上進行格式化的 IWpfTextView。
傳回值
類型:Microsoft.VisualStudio.Text.Formatting.ILineTransformSource
新的 ILineTransformSource。此值可能是nullnull 參考 (即 Visual Basic 中的 Nothing)此ILineTransformSourceProvider決定不參與。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。