CreateTextViewHostCallback 委派
命名空間: Microsoft.VisualStudio.Text.Differencing
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
Public Delegate Sub CreateTextViewHostCallback ( _
textViewModel As IDifferenceTextViewModel, _
roles As ITextViewRoleSet, _
options As IEditorOptions, _
<OutAttribute> ByRef visualElement As FrameworkElement, _
<OutAttribute> ByRef textViewHost As IWpfTextViewHost _
)
public delegate void CreateTextViewHostCallback(
IDifferenceTextViewModel textViewModel,
ITextViewRoleSet roles,
IEditorOptions options,
out FrameworkElement visualElement,
out IWpfTextViewHost textViewHost
)
public delegate void CreateTextViewHostCallback(
IDifferenceTextViewModel^ textViewModel,
ITextViewRoleSet^ roles,
IEditorOptions^ options,
[OutAttribute] FrameworkElement^% visualElement,
[OutAttribute] IWpfTextViewHost^% textViewHost
)
type CreateTextViewHostCallback =
delegate of
textViewModel:IDifferenceTextViewModel *
roles:ITextViewRoleSet *
options:IEditorOptions *
visualElement:FrameworkElement byref *
textViewHost:IWpfTextViewHost byref -> unit
JScript 不支援委派。
參數
- textViewModel
類型:Microsoft.VisualStudio.Text.Differencing.IDifferenceTextViewModel
- visualElement
類型:FrameworkElement%
- textViewHost
類型:Microsoft.VisualStudio.Text.Editor.IWpfTextViewHost%